@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceRequest extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a WorkSpace creation request.
Constructor and Description |
---|
WorkspaceRequest() |
Modifier and Type | Method and Description |
---|---|
WorkspaceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getBundleId()
The identifier of the bundle to create the WorkSpace from.
|
String |
getDirectoryId()
The identifier of the AWS Directory Service directory to create the WorkSpace in.
|
Boolean |
getRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
|
List<Tag> |
getTags()
The tags of the WorkSpace request.
|
String |
getUserName()
The username that the WorkSpace is assigned to.
|
Boolean |
getUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
|
String |
getVolumeEncryptionKey()
The KMS key used to encrypt data stored on your WorkSpace.
|
WorkspaceProperties |
getWorkspaceProperties() |
int |
hashCode() |
Boolean |
isRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
|
Boolean |
isUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
void |
setWorkspaceProperties(WorkspaceProperties workspaceProperties) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
WorkspaceRequest |
withBundleId(String bundleId)
The identifier of the bundle to create the WorkSpace from.
|
WorkspaceRequest |
withDirectoryId(String directoryId)
The identifier of the AWS Directory Service directory to create the WorkSpace in.
|
WorkspaceRequest |
withRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
|
WorkspaceRequest |
withTags(Collection<Tag> tags)
The tags of the WorkSpace request.
|
WorkspaceRequest |
withTags(Tag... tags)
The tags of the WorkSpace request.
|
WorkspaceRequest |
withUserName(String userName)
The username that the WorkSpace is assigned to.
|
WorkspaceRequest |
withUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
|
WorkspaceRequest |
withVolumeEncryptionKey(String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
|
WorkspaceRequest |
withWorkspaceProperties(WorkspaceProperties workspaceProperties) |
public void setDirectoryId(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 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(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(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 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(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(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 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(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(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 String getVolumeEncryptionKey()
The KMS key used to encrypt data stored on your WorkSpace.
public WorkspaceRequest withVolumeEncryptionKey(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(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 Boolean getUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
public WorkspaceRequest withUserVolumeEncryptionEnabled(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 Boolean isUserVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
public void setRootVolumeEncryptionEnabled(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 Boolean getRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
public WorkspaceRequest withRootVolumeEncryptionEnabled(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 Boolean isRootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
public void setWorkspaceProperties(WorkspaceProperties workspaceProperties)
workspaceProperties
- public WorkspaceProperties getWorkspaceProperties()
public WorkspaceRequest withWorkspaceProperties(WorkspaceProperties workspaceProperties)
workspaceProperties
- public List<Tag> getTags()
The tags of the WorkSpace request.
public void setTags(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(Collection<Tag> tags)
The tags of the WorkSpace request.
tags
- The tags of the WorkSpace request.public String toString()
toString
in class Object
Object.toString()
public WorkspaceRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.