Interface DescribeResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeResourceResponse.Builder,
,DescribeResourceResponse> SdkBuilder<DescribeResourceResponse.Builder,
,DescribeResourceResponse> SdkPojo
,SdkResponse.Builder
,WorkMailResponse.Builder
- Enclosing class:
DescribeResourceResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeResourceResponse.Builder
bookingOptions
(Consumer<BookingOptions.Builder> bookingOptions) The booking options for the described resource.bookingOptions
(BookingOptions bookingOptions) The booking options for the described resource.description
(String description) Description of the resource.disabledDate
(Instant disabledDate) The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.The email of the described resource.enabledDate
(Instant enabledDate) The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.hiddenFromGlobalAddressList
(Boolean hiddenFromGlobalAddressList) If enabled, the resource is hidden from the global address list.The name of the described resource.resourceId
(String resourceId) The identifier of the described resource.The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.state
(EntityState state) The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.The type of the described resource.type
(ResourceType type) The type of the described resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
resourceId
The identifier of the described resource.
- Parameters:
resourceId
- The identifier of the described resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
The email of the described resource.
- Parameters:
email
- The email of the described resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the described resource.
- Parameters:
name
- The name of the described resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the described resource.
- Parameters:
type
- The type of the described resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the described resource.
- Parameters:
type
- The type of the described resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bookingOptions
The booking options for the described resource.
- Parameters:
bookingOptions
- The booking options for the described resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bookingOptions
default DescribeResourceResponse.Builder bookingOptions(Consumer<BookingOptions.Builder> bookingOptions) The booking options for the described resource.
This is a convenience method that creates an instance of theBookingOptions.Builder
avoiding the need to create one manually viaBookingOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobookingOptions(BookingOptions)
.- Parameters:
bookingOptions
- a consumer that will call methods onBookingOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
- Parameters:
state
- The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
- Parameters:
state
- The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabledDate
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
- Parameters:
enabledDate
- The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disabledDate
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
- Parameters:
disabledDate
- The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Description of the resource.
- Parameters:
description
- Description of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-