Class WorkspaceRequest
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a WorkSpace creation request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The identifier of the bundle to create the WorkSpace from.The identifier of the AWS Directory Service directory to create the WorkSpace in.Specifies whether the data stored on the root volume, or C: drive, is encrypted.getTags()
The tags of the WorkSpace request.The username that the WorkSpace is assigned to.Specifies whether the data stored on the user volume, or D: drive, is encrypted.The KMS key used to encrypt data stored on your WorkSpace.int
hashCode()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.Specifies whether the data stored on the user volume, or D: drive, is encrypted.void
setBundleId
(String bundleId) The identifier of the bundle to create the WorkSpace from.void
setDirectoryId
(String directoryId) The identifier of the AWS Directory Service directory to create the WorkSpace in.void
setRootVolumeEncryptionEnabled
(Boolean rootVolumeEncryptionEnabled) Specifies whether the data stored on the root volume, or C: drive, is encrypted.void
setTags
(Collection<Tag> tags) The tags of the WorkSpace request.void
setUserName
(String userName) The username that the WorkSpace is assigned to.void
setUserVolumeEncryptionEnabled
(Boolean userVolumeEncryptionEnabled) Specifies whether the data stored on the user volume, or D: drive, is encrypted.void
setVolumeEncryptionKey
(String volumeEncryptionKey) The KMS key used to encrypt data stored on your WorkSpace.toString()
Returns a string representation of this object; useful for testing and debugging.withBundleId
(String bundleId) The identifier of the bundle to create the WorkSpace from.withDirectoryId
(String directoryId) The identifier of the AWS Directory Service directory to create the WorkSpace in.withRootVolumeEncryptionEnabled
(Boolean rootVolumeEncryptionEnabled) Specifies whether the data stored on the root volume, or C: drive, is encrypted.The tags of the WorkSpace request.withTags
(Collection<Tag> tags) The tags of the WorkSpace request.withUserName
(String userName) The username that the WorkSpace is assigned to.withUserVolumeEncryptionEnabled
(Boolean userVolumeEncryptionEnabled) Specifies whether the data stored on the user volume, or D: drive, is encrypted.withVolumeEncryptionKey
(String volumeEncryptionKey) The KMS key used to encrypt data stored on your WorkSpace.
-
Constructor Details
-
WorkspaceRequest
public WorkspaceRequest()
-
-
Method Details
-
setDirectoryId
The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.
- Parameters:
directoryId
- The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.
-
getDirectoryId
The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.
- Returns:
- The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.
-
withDirectoryId
The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.
- Parameters:
directoryId
- The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserName
The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the
DirectoryId
member.- Parameters:
userName
- The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by theDirectoryId
member.
-
getUserName
The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the
DirectoryId
member.- Returns:
- The username that the WorkSpace is assigned to. This username
must exist in the AWS Directory Service directory specified by
the
DirectoryId
member.
-
withUserName
The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the
DirectoryId
member.- Parameters:
userName
- The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by theDirectoryId
member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBundleId
The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.
- Parameters:
bundleId
- The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.
-
getBundleId
The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.
- Returns:
- The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.
-
withBundleId
The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.
- Parameters:
bundleId
- The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
- Parameters:
volumeEncryptionKey
- The KMS key used to encrypt data stored on your WorkSpace.
-
getVolumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
- Returns:
- The KMS key used to encrypt data stored on your WorkSpace.
-
withVolumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
- Parameters:
volumeEncryptionKey
- The KMS key used to encrypt data stored on your WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Parameters:
userVolumeEncryptionEnabled
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.
-
getUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.
-
withUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Parameters:
userVolumeEncryptionEnabled
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.
-
setRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Parameters:
rootVolumeEncryptionEnabled
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.
-
getRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.
-
withRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Parameters:
rootVolumeEncryptionEnabled
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.
-
getTags
The tags of the WorkSpace request.
- Returns:
- The tags of the WorkSpace request.
-
setTags
The tags of the WorkSpace request.
- Parameters:
tags
- The tags of the WorkSpace request.
-
withTags
The tags of the WorkSpace request.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- The tags of the WorkSpace request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The tags of the WorkSpace request.
- Parameters:
tags
- The tags of the WorkSpace request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-