Interface UpdateResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateResourceRequest.Builder,
,UpdateResourceRequest> SdkBuilder<UpdateResourceRequest.Builder,
,UpdateResourceRequest> SdkPojo
,SdkRequest.Builder
,WorkMailRequest.Builder
- Enclosing class:
UpdateResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateResourceRequest.Builder
bookingOptions
(Consumer<BookingOptions.Builder> bookingOptions) The resource's booking options to be updated.bookingOptions
(BookingOptions bookingOptions) The resource's booking options to be updated.description
(String description) Updates the resource description.hiddenFromGlobalAddressList
(Boolean hiddenFromGlobalAddressList) If enabled, the resource is hidden from the global address list.The name of the resource to be updated.organizationId
(String organizationId) The identifier associated with the organization for which the resource is updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceId
(String resourceId) The identifier of the resource to be updated.Updates the resource type.type
(ResourceType type) Updates the resource type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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.services.workmail.model.WorkMailRequest.Builder
build
-
Method Details
-
organizationId
The identifier associated with the organization for which the resource is updated.
- Parameters:
organizationId
- The identifier associated with the organization for which the resource is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The identifier of the resource to be updated.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
- Parameters:
resourceId
- The identifier of the resource to be updated.The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
name
The name of the resource to be updated.
- Parameters:
name
- The name of the resource to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bookingOptions
The resource's booking options to be updated.
- Parameters:
bookingOptions
- The resource's booking options to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bookingOptions
default UpdateResourceRequest.Builder bookingOptions(Consumer<BookingOptions.Builder> bookingOptions) The resource's booking options to be updated.
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:
-
description
Updates the resource description.
- Parameters:
description
- Updates the resource description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Updates the resource type.
- Parameters:
type
- Updates the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Updates the resource type.
- Parameters:
type
- Updates the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-