@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceRequest extends Object implements Serializable, Cloneable, StructuredPojo
Describes the information used to create a WorkSpace.
Constructor and Description |
---|
WorkspaceRequest() |
Modifier and Type | Method and Description |
---|---|
WorkspaceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getBundleId()
The identifier of the bundle for the WorkSpace.
|
String |
getDirectoryId()
The identifier of the Directory Service directory for the WorkSpace.
|
Boolean |
getRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
|
List<Tag> |
getTags()
The tags for the WorkSpace.
|
String |
getUserName()
The user name of the user for the WorkSpace.
|
Boolean |
getUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
String |
getVolumeEncryptionKey()
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.
|
String |
getWorkspaceName()
The name of the user-decoupled WorkSpace.
|
WorkspaceProperties |
getWorkspaceProperties()
The WorkSpace properties.
|
int |
hashCode() |
Boolean |
isRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
|
Boolean |
isUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBundleId(String bundleId)
The identifier of the bundle for the WorkSpace.
|
void |
setDirectoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace.
|
void |
setRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
void |
setTags(Collection<Tag> tags)
The tags for the WorkSpace.
|
void |
setUserName(String userName)
The user name of the user for the WorkSpace.
|
void |
setUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
void |
setVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.
|
void |
setWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
|
void |
setWorkspaceProperties(WorkspaceProperties workspaceProperties)
The WorkSpace properties.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceRequest |
withBundleId(String bundleId)
The identifier of the bundle for the WorkSpace.
|
WorkspaceRequest |
withDirectoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace.
|
WorkspaceRequest |
withRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
WorkspaceRequest |
withTags(Collection<Tag> tags)
The tags for the WorkSpace.
|
WorkspaceRequest |
withTags(Tag... tags)
The tags for the WorkSpace.
|
WorkspaceRequest |
withUserName(String userName)
The user name of the user for the WorkSpace.
|
WorkspaceRequest |
withUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
WorkspaceRequest |
withVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.
|
WorkspaceRequest |
withWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
|
WorkspaceRequest |
withWorkspaceProperties(WorkspaceProperties workspaceProperties)
The WorkSpace properties.
|
public void setDirectoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
directoryId
- The identifier of the Directory Service directory for the WorkSpace. You can use
DescribeWorkspaceDirectories to list the available directories.public String getDirectoryId()
The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
public WorkspaceRequest withDirectoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
directoryId
- The identifier of the Directory Service directory for the WorkSpace. You can use
DescribeWorkspaceDirectories to list the available directories.public void setUserName(String userName)
The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
The reserved keyword, [UNDEFINED]
, is used when creating user-decoupled WorkSpaces.
userName
- The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory
for the WorkSpace.
The reserved keyword, [UNDEFINED]
, is used when creating user-decoupled WorkSpaces.
public String getUserName()
The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
The reserved keyword, [UNDEFINED]
, is used when creating user-decoupled WorkSpaces.
The reserved keyword, [UNDEFINED]
, is used when creating user-decoupled WorkSpaces.
public WorkspaceRequest withUserName(String userName)
The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
The reserved keyword, [UNDEFINED]
, is used when creating user-decoupled WorkSpaces.
userName
- The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory
for the WorkSpace.
The reserved keyword, [UNDEFINED]
, is used when creating user-decoupled WorkSpaces.
public void setBundleId(String bundleId)
The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
bundleId
- The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the
available bundles.public String getBundleId()
The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
public WorkspaceRequest withBundleId(String bundleId)
The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
bundleId
- The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the
available bundles.public void setVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
volumeEncryptionKey
- The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not
support asymmetric KMS keys.public String getVolumeEncryptionKey()
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
public WorkspaceRequest withVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
volumeEncryptionKey
- The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not
support asymmetric KMS keys.public void setUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted.public Boolean getUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
public WorkspaceRequest withUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted.public Boolean isUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
public void setRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted.public Boolean getRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
public WorkspaceRequest withRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted.public Boolean isRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
public void setWorkspaceProperties(WorkspaceProperties workspaceProperties)
The WorkSpace properties.
workspaceProperties
- The WorkSpace properties.public WorkspaceProperties getWorkspaceProperties()
The WorkSpace properties.
public WorkspaceRequest withWorkspaceProperties(WorkspaceProperties workspaceProperties)
The WorkSpace properties.
workspaceProperties
- The WorkSpace properties.public void setTags(Collection<Tag> tags)
The tags for the WorkSpace.
tags
- The tags for the WorkSpace.public WorkspaceRequest withTags(Tag... tags)
The tags for the WorkSpace.
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 for the WorkSpace.public WorkspaceRequest withTags(Collection<Tag> tags)
The tags for the WorkSpace.
tags
- The tags for the WorkSpace.public void setWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
workspaceName
- The name of the user-decoupled WorkSpace.public String getWorkspaceName()
The name of the user-decoupled WorkSpace.
public WorkspaceRequest withWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
workspaceName
- The name of the user-decoupled WorkSpace.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.