Interface UpdateResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>,SdkBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>,SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
- UpdateResourceRequest
public static interface UpdateResourceRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateResourceRequest.BuilderbookingOptions(Consumer<BookingOptions.Builder> bookingOptions)The resource's booking options to be updated.UpdateResourceRequest.BuilderbookingOptions(BookingOptions bookingOptions)The resource's booking options to be updated.UpdateResourceRequest.Builderdescription(String description)Updates the resource description.UpdateResourceRequest.BuilderhiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)If enabled, the resource is hidden from the global address list.UpdateResourceRequest.Buildername(String name)The name of the resource to be updated.UpdateResourceRequest.BuilderorganizationId(String organizationId)The identifier associated with the organization for which the resource is updated.UpdateResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateResourceRequest.BuilderresourceId(String resourceId)The identifier of the resource to be updated.UpdateResourceRequest.Buildertype(String type)Updates the resource type.UpdateResourceRequest.Buildertype(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 Detail
-
organizationId
UpdateResourceRequest.Builder organizationId(String 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
UpdateResourceRequest.Builder resourceId(String 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
UpdateResourceRequest.Builder name(String 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
UpdateResourceRequest.Builder bookingOptions(BookingOptions 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.Builderavoiding the need to create one manually viaBookingOptions.builder().When the
Consumercompletes,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:
bookingOptions(BookingOptions)
-
description
UpdateResourceRequest.Builder description(String 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
UpdateResourceRequest.Builder type(String 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:
ResourceType,ResourceType
-
type
UpdateResourceRequest.Builder type(ResourceType 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:
ResourceType,ResourceType
-
hiddenFromGlobalAddressList
UpdateResourceRequest.Builder hiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the resource is hidden from the global address list.
- Parameters:
hiddenFromGlobalAddressList- If enabled, the resource is hidden from the global address list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-