public static interface DescribeResourceResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<DescribeResourceResponse.Builder,DescribeResourceResponse>
Modifier and Type | Method and Description |
---|---|
DescribeResourceResponse.Builder |
bookingOptions(BookingOptions bookingOptions)
The booking options for the described resource.
|
default DescribeResourceResponse.Builder |
bookingOptions(Consumer<BookingOptions.Builder> bookingOptions)
The booking options for the described resource.
|
DescribeResourceResponse.Builder |
disabledDate(Instant disabledDate)
The date and time when a resource was registered from Amazon WorkMail, in UNIX epoch time format.
|
DescribeResourceResponse.Builder |
email(String email)
The email of the described resource.
|
DescribeResourceResponse.Builder |
enabledDate(Instant enabledDate)
The date and time when a resource was registered to Amazon WorkMail, in UNIX epoch time format.
|
DescribeResourceResponse.Builder |
name(String name)
The name of the described resource.
|
DescribeResourceResponse.Builder |
resourceId(String resourceId)
The identifier of the described resource.
|
DescribeResourceResponse.Builder |
state(EntityState state)
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never
registered to Amazon WorkMail).
|
DescribeResourceResponse.Builder |
state(String state)
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never
registered to Amazon WorkMail).
|
DescribeResourceResponse.Builder |
type(ResourceType type)
The type of the described resource.
|
DescribeResourceResponse.Builder |
type(String type)
The type of the described resource.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeResourceResponse.Builder resourceId(String resourceId)
The identifier of the described resource.
resourceId
- The identifier of the described resource.DescribeResourceResponse.Builder email(String email)
The email of the described resource.
email
- The email of the described resource.DescribeResourceResponse.Builder name(String name)
The name of the described resource.
name
- The name of the described resource.DescribeResourceResponse.Builder type(String type)
The type of the described resource.
type
- The type of the described resource.ResourceType
,
ResourceType
DescribeResourceResponse.Builder type(ResourceType type)
The type of the described resource.
type
- The type of the described resource.ResourceType
,
ResourceType
DescribeResourceResponse.Builder bookingOptions(BookingOptions bookingOptions)
The booking options for the described resource.
bookingOptions
- The booking options for the described resource.default DescribeResourceResponse.Builder bookingOptions(Consumer<BookingOptions.Builder> bookingOptions)
The booking options for the described resource.
This is a convenience that creates an instance of theBookingOptions.Builder
avoiding the need to
create one manually via BookingOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to bookingOptions(BookingOptions)
.bookingOptions
- a consumer that will call methods on BookingOptions.Builder
bookingOptions(BookingOptions)
DescribeResourceResponse.Builder state(String state)
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).
state
- The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never
registered to Amazon WorkMail).EntityState
,
EntityState
DescribeResourceResponse.Builder state(EntityState state)
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).
state
- The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never
registered to Amazon WorkMail).EntityState
,
EntityState
DescribeResourceResponse.Builder enabledDate(Instant enabledDate)
The date and time when a resource was registered to Amazon WorkMail, in UNIX epoch time format.
enabledDate
- The date and time when a resource was registered to Amazon WorkMail, in UNIX epoch time format.DescribeResourceResponse.Builder disabledDate(Instant disabledDate)
The date and time when a resource was registered from Amazon WorkMail, in UNIX epoch time format.
disabledDate
- The date and time when a resource was registered from Amazon WorkMail, in UNIX epoch time format.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.