Interface UpdateSpaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<UpdateSpaceRequest.Builder,,UpdateSpaceRequest> SdkBuilder<UpdateSpaceRequest.Builder,,UpdateSpaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSpaceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSpaceRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How to encrypt the space's data at rest.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) How to encrypt the space's data at rest.A new name for the space.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique ID of the space to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
spaceId
The unique ID of the space to update.
- Parameters:
spaceId- The unique ID of the space to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A new name for the space. Omit to leave unchanged. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.
- Parameters:
name- A new name for the space. Omit to leave unchanged. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
How to encrypt the space's data at rest. Omit to leave encryption unchanged. Pass
encryptionStrategyAWS_OWNED to stop using a customer managed key and revert to service owned encryption.- Parameters:
encryptionConfiguration- How to encrypt the space's data at rest. Omit to leave encryption unchanged. PassencryptionStrategyAWS_OWNED to stop using a customer managed key and revert to service owned encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default UpdateSpaceRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How to encrypt the space's data at rest. Omit to leave encryption unchanged. Pass
This is a convenience method that creates an instance of theencryptionStrategyAWS_OWNED to stop using a customer managed key and revert to service owned encryption.EncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSpaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSpaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-