Interface UpdateWorkspaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkspaceRequest.Builder,,UpdateWorkspaceRequest> IoTSiteWiseRequest.Builder,SdkBuilder<UpdateWorkspaceRequest.Builder,,UpdateWorkspaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWorkspaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.default UpdateWorkspaceRequest.BuilderencryptionConfiguration(Consumer<WorkspaceEncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration for the workspace.encryptionConfiguration(WorkspaceEncryptionConfiguration encryptionConfiguration) The encryption configuration for the workspace.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceDescription(String workspaceDescription) A new description for the workspace.workspaceName(String workspaceName) The name of the workspace to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workspaceName
The name of the workspace to update.
- Parameters:
workspaceName- The name of the workspace to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceDescription
A new description for the workspace.
- Parameters:
workspaceDescription- A new description for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
UpdateWorkspaceRequest.Builder encryptionConfiguration(WorkspaceEncryptionConfiguration encryptionConfiguration) The encryption configuration for the workspace. Omit this field to leave encryption unchanged. After a customer managed key configuration becomes active, the key can't be changed; supplying the same key is accepted.
- Parameters:
encryptionConfiguration- The encryption configuration for the workspace. Omit this field to leave encryption unchanged. After a customer managed key configuration becomes active, the key can't be changed; supplying the same key is accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default UpdateWorkspaceRequest.Builder encryptionConfiguration(Consumer<WorkspaceEncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration for the workspace. Omit this field to leave encryption unchanged. After a customer managed key configuration becomes active, the key can't be changed; supplying the same key is accepted.
This is a convenience method that creates an instance of theWorkspaceEncryptionConfiguration.Builderavoiding the need to create one manually viaWorkspaceEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(WorkspaceEncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onWorkspaceEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWorkspaceRequest.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
UpdateWorkspaceRequest.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.
-