Interface WorkspaceRequest.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<WorkspaceRequest.Builder,,- WorkspaceRequest> - SdkBuilder<WorkspaceRequest.Builder,,- WorkspaceRequest> - SdkPojo
- Enclosing class:
- WorkspaceRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe identifier of the bundle for the WorkSpace.directoryId(String directoryId) The identifier of the Directory Service directory for the WorkSpace.ipv6Address(String ipv6Address) The IPv6 address for the WorkSpace.rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled) Indicates whether the data stored on the root volume is encrypted.tags(Collection<Tag> tags) The tags for the WorkSpace.tags(Consumer<Tag.Builder>... tags) The tags for the WorkSpace.The tags for the WorkSpace.The user name of the user for the WorkSpace.userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled) Indicates whether the data stored on the user volume is encrypted.volumeEncryptionKey(String volumeEncryptionKey) The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.workspaceName(String workspaceName) The name of the user-decoupled WorkSpace.default WorkspaceRequest.BuilderworkspaceProperties(Consumer<WorkspaceProperties.Builder> workspaceProperties) The WorkSpace properties.workspaceProperties(WorkspaceProperties workspaceProperties) The WorkSpace properties.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
directoryIdThe identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories. - Parameters:
- directoryId- The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userNameThe user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace. The username is not case-sensitive, but we recommend matching the case in the Directory Service directory to avoid potential incompatibilities. The reserved keyword, [UNDEFINED], is used when creating user-decoupled WorkSpaces.- Parameters:
- userName- The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.- The username is not case-sensitive, but we recommend matching the case in the Directory Service directory to avoid potential incompatibilities. - The reserved keyword, - [UNDEFINED], is used when creating user-decoupled WorkSpaces.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bundleIdThe identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles. - Parameters:
- bundleId- The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
volumeEncryptionKeyThe ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys. - Parameters:
- volumeEncryptionKey- The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userVolumeEncryptionEnabledIndicates whether the data stored on the user volume is encrypted. - Parameters:
- userVolumeEncryptionEnabled- Indicates whether the data stored on the user volume is encrypted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rootVolumeEncryptionEnabledIndicates whether the data stored on the root volume is encrypted. - Parameters:
- rootVolumeEncryptionEnabled- Indicates whether the data stored on the root volume is encrypted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspacePropertiesThe WorkSpace properties. - Parameters:
- workspaceProperties- The WorkSpace properties.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspacePropertiesdefault WorkspaceRequest.Builder workspaceProperties(Consumer<WorkspaceProperties.Builder> workspaceProperties) The WorkSpace properties. This is a convenience method that creates an instance of theWorkspaceProperties.Builderavoiding the need to create one manually viaWorkspaceProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaceProperties(WorkspaceProperties).- Parameters:
- workspaceProperties- a consumer that will call methods on- WorkspaceProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe tags for the WorkSpace. - Parameters:
- tags- The tags for the WorkSpace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe tags for the WorkSpace. - Parameters:
- tags- The tags for the WorkSpace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe tags for the WorkSpace. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceNameThe name of the user-decoupled WorkSpace. WorkspaceNameis required ifUserNameis[UNDEFINED]for user-decoupled WorkSpaces.WorkspaceNameis not applicable ifUserNameis specified for user-assigned WorkSpaces.- Parameters:
- workspaceName- The name of the user-decoupled WorkSpace.- WorkspaceNameis required if- UserNameis- [UNDEFINED]for user-decoupled WorkSpaces.- WorkspaceNameis not applicable if- UserNameis specified for user-assigned WorkSpaces.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ipv6AddressThe IPv6 address for the WorkSpace. - Parameters:
- ipv6Address- The IPv6 address for the WorkSpace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-