public static interface UpdateResourceRequest.Builder extends WorkMailRequest.Builder, CopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
Modifier and Type | Method and Description |
---|---|
UpdateResourceRequest.Builder |
bookingOptions(BookingOptions bookingOptions)
The resource's booking options to be updated.
|
default UpdateResourceRequest.Builder |
bookingOptions(Consumer<BookingOptions.Builder> bookingOptions)
The resource's booking options to be updated.
|
UpdateResourceRequest.Builder |
name(String name)
The name of the resource to be updated.
|
UpdateResourceRequest.Builder |
organizationId(String organizationId)
The identifier associated with the organization for which the resource is updated.
|
UpdateResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateResourceRequest.Builder |
resourceId(String resourceId)
The identifier of the resource to be updated.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateResourceRequest.Builder organizationId(String organizationId)
The identifier associated with the organization for which the resource is updated.
organizationId
- The identifier associated with the organization for which the resource is updated.UpdateResourceRequest.Builder resourceId(String resourceId)
The identifier of the resource to be updated.
resourceId
- The identifier of the resource to be updated.UpdateResourceRequest.Builder name(String name)
The name of the resource to be updated.
name
- The name of the resource to be updated.UpdateResourceRequest.Builder bookingOptions(BookingOptions bookingOptions)
The resource's booking options to be updated.
bookingOptions
- The resource's booking options to be updated.default UpdateResourceRequest.Builder bookingOptions(Consumer<BookingOptions.Builder> bookingOptions)
The resource's booking options to be updated.
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)
UpdateResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.