public class WorkspaceRequest
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a WorkSpace creation request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bundleId
The identifier of the bundle to create the WorkSpace from.
|
private java.lang.String |
directoryId
The identifier of the AWS Directory Service directory to create the
WorkSpace in.
|
private java.lang.Boolean |
rootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is
encrypted.
|
private SdkInternalList<Tag> |
tags
The tags of the WorkSpace request.
|
private java.lang.String |
userName
The username that the WorkSpace is assigned to.
|
private java.lang.Boolean |
userVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is
encrypted.
|
private java.lang.String |
volumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
|
Constructor and Description |
---|
WorkspaceRequest() |
Modifier and Type | Method and Description |
---|---|
WorkspaceRequest |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBundleId()
The identifier of the bundle to create the WorkSpace from.
|
java.lang.String |
getDirectoryId()
The identifier of the AWS Directory Service directory to create the
WorkSpace in.
|
java.lang.Boolean |
getRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is
encrypted.
|
java.util.List<Tag> |
getTags()
The tags of the WorkSpace request.
|
java.lang.String |
getUserName()
The username that the WorkSpace is assigned to.
|
java.lang.Boolean |
getUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is
encrypted.
|
java.lang.String |
getVolumeEncryptionKey()
The KMS key used to encrypt data stored on your WorkSpace.
|
int |
hashCode() |
java.lang.Boolean |
isRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is
encrypted.
|
java.lang.Boolean |
isUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is
encrypted.
|
void |
setBundleId(java.lang.String bundleId)
The identifier of the bundle to create the WorkSpace from.
|
void |
setDirectoryId(java.lang.String directoryId)
The identifier of the AWS Directory Service directory to create the
WorkSpace in.
|
void |
setRootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is
encrypted.
|
void |
setTags(java.util.Collection<Tag> tags)
The tags of the WorkSpace request.
|
void |
setUserName(java.lang.String userName)
The username that the WorkSpace is assigned to.
|
void |
setUserVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is
encrypted.
|
void |
setVolumeEncryptionKey(java.lang.String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkspaceRequest |
withBundleId(java.lang.String bundleId)
The identifier of the bundle to create the WorkSpace from.
|
WorkspaceRequest |
withDirectoryId(java.lang.String directoryId)
The identifier of the AWS Directory Service directory to create the
WorkSpace in.
|
WorkspaceRequest |
withRootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is
encrypted.
|
WorkspaceRequest |
withTags(java.util.Collection<Tag> tags)
The tags of the WorkSpace request.
|
WorkspaceRequest |
withTags(Tag... tags)
The tags of the WorkSpace request.
|
WorkspaceRequest |
withUserName(java.lang.String userName)
The username that the WorkSpace is assigned to.
|
WorkspaceRequest |
withUserVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is
encrypted.
|
WorkspaceRequest |
withVolumeEncryptionKey(java.lang.String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
|
private java.lang.String 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.
private java.lang.String userName
The username that the WorkSpace is assigned to. This username must exist
in the AWS Directory Service directory specified by the
DirectoryId
member.
private java.lang.String 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.
private java.lang.String volumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
private java.lang.Boolean userVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
private java.lang.Boolean rootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
private SdkInternalList<Tag> tags
The tags of the WorkSpace request.
public void setDirectoryId(java.lang.String 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.
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.public java.lang.String 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.
public WorkspaceRequest withDirectoryId(java.lang.String 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.
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.public void setUserName(java.lang.String userName)
The username that the WorkSpace is assigned to. This username must exist
in the AWS Directory Service directory specified by the
DirectoryId
member.
userName
- The username that the WorkSpace is assigned to. This username must
exist in the AWS Directory Service directory specified by the
DirectoryId
member.public java.lang.String getUserName()
The username that the WorkSpace is assigned to. This username must exist
in the AWS Directory Service directory specified by the
DirectoryId
member.
DirectoryId
member.public WorkspaceRequest withUserName(java.lang.String userName)
The username that the WorkSpace is assigned to. This username must exist
in the AWS Directory Service directory specified by the
DirectoryId
member.
userName
- The username that the WorkSpace is assigned to. This username must
exist in the AWS Directory Service directory specified by the
DirectoryId
member.public void setBundleId(java.lang.String 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.
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.public java.lang.String 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.
public WorkspaceRequest withBundleId(java.lang.String 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.
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.public void setVolumeEncryptionKey(java.lang.String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
volumeEncryptionKey
- The KMS key used to encrypt data stored on your WorkSpace.public java.lang.String getVolumeEncryptionKey()
The KMS key used to encrypt data stored on your WorkSpace.
public WorkspaceRequest withVolumeEncryptionKey(java.lang.String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
volumeEncryptionKey
- The KMS key used to encrypt data stored on your WorkSpace.public void setUserVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
userVolumeEncryptionEnabled
- Specifies whether the data stored on the user volume, or D: drive,
is encrypted.public java.lang.Boolean getUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
public WorkspaceRequest withUserVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
userVolumeEncryptionEnabled
- Specifies whether the data stored on the user volume, or D: drive,
is encrypted.public java.lang.Boolean isUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
public void setRootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
rootVolumeEncryptionEnabled
- Specifies whether the data stored on the root volume, or C: drive,
is encrypted.public java.lang.Boolean getRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
public WorkspaceRequest withRootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
rootVolumeEncryptionEnabled
- Specifies whether the data stored on the root volume, or C: drive,
is encrypted.public java.lang.Boolean isRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
public java.util.List<Tag> getTags()
The tags of the WorkSpace request.
public void setTags(java.util.Collection<Tag> tags)
The tags of the WorkSpace request.
tags
- The tags of the WorkSpace request.public WorkspaceRequest withTags(Tag... tags)
The tags of the WorkSpace request.
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or
withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags of the WorkSpace request.public WorkspaceRequest withTags(java.util.Collection<Tag> tags)
The tags of the WorkSpace request.
tags
- The tags of the WorkSpace request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WorkspaceRequest clone()
clone
in class java.lang.Object