Interface CreateWorkspaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkspaceRequest.Builder,,CreateWorkspaceRequest> IoTSiteWiseRequest.Builder,SdkBuilder<CreateWorkspaceRequest.Builder,,CreateWorkspaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkspaceRequest
@Mutable
@NotThreadSafe
public static interface CreateWorkspaceRequest.Builder
extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceRequest.Builder,CreateWorkspaceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.default CreateWorkspaceRequest.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.A list of key-value pairs that contain metadata for the workspace.workspaceDescription(String workspaceDescription) A description for the workspace.workspaceName(String workspaceName) The name of the workspace to create.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 create.
- Parameters:
workspaceName- The name of the workspace to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceDescription
A description for the workspace.
- Parameters:
workspaceDescription- A description for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateWorkspaceRequest.Builder encryptionConfiguration(WorkspaceEncryptionConfiguration encryptionConfiguration) The encryption configuration for the workspace.
- Parameters:
encryptionConfiguration- The encryption configuration for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateWorkspaceRequest.Builder encryptionConfiguration(Consumer<WorkspaceEncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration for the workspace.
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:
-
tags
A list of key-value pairs that contain metadata for the workspace. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- Parameters:
tags- A list of key-value pairs that contain metadata for the workspace. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
CreateWorkspaceRequest.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
CreateWorkspaceRequest.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.
-