Interface CreateWorkspaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateWorkspaceRequest.Builder,,CreateWorkspaceRequest> SdkBuilder<CreateWorkspaceRequest.Builder,,CreateWorkspaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkspaceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the workspace.instanceId(String instanceId) The identifier of the Amazon Connect instance.The name of the workspace.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags used to organize, track, or control access for this resource.default CreateWorkspaceRequest.Buildertheme(Consumer<WorkspaceTheme.Builder> theme) The theme configuration for the workspace, including colors and styling.theme(WorkspaceTheme theme) The theme configuration for the workspace, including colors and styling.The title displayed for the workspace.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.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
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the workspace. Must be unique within the instance and can contain 1-127 characters.
- Parameters:
name- The name of the workspace. Must be unique within the instance and can contain 1-127 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the workspace. Maximum length is 250 characters.
- Parameters:
description- The description of the workspace. Maximum length is 250 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
theme
The theme configuration for the workspace, including colors and styling.
- Parameters:
theme- The theme configuration for the workspace, including colors and styling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
theme
The theme configuration for the workspace, including colors and styling.
This is a convenience method that creates an instance of theWorkspaceTheme.Builderavoiding the need to create one manually viaWorkspaceTheme.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totheme(WorkspaceTheme).- Parameters:
theme- a consumer that will call methods onWorkspaceTheme.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
title
The title displayed for the workspace.
- Parameters:
title- The title displayed for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }.- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example,{ "Tags": {"key1":"value1", "key2":"value2"} }.- 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.
-