Class WorkspaceRequest
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.WorkspaceRequest
-
- All Implemented Interfaces:
Serializable,Cloneable
public class WorkspaceRequest extends Object implements Serializable, Cloneable
Contains information about a WorkSpace creation request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkspaceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkspaceRequestclone()booleanequals(Object obj)StringgetBundleId()The identifier of the bundle to create the WorkSpace from.StringgetDirectoryId()The identifier of the AWS Directory Service directory to create the WorkSpace in.BooleangetRootVolumeEncryptionEnabled()Specifies whether the data stored on the root volume, or C: drive, is encrypted.List<Tag>getTags()The tags of the WorkSpace request.StringgetUserName()The username that the WorkSpace is assigned to.BooleangetUserVolumeEncryptionEnabled()Specifies whether the data stored on the user volume, or D: drive, is encrypted.StringgetVolumeEncryptionKey()The KMS key used to encrypt data stored on your WorkSpace.inthashCode()BooleanisRootVolumeEncryptionEnabled()Specifies whether the data stored on the root volume, or C: drive, is encrypted.BooleanisUserVolumeEncryptionEnabled()Specifies whether the data stored on the user volume, or D: drive, is encrypted.voidsetBundleId(String bundleId)The identifier of the bundle to create the WorkSpace from.voidsetDirectoryId(String directoryId)The identifier of the AWS Directory Service directory to create the WorkSpace in.voidsetRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)Specifies whether the data stored on the root volume, or C: drive, is encrypted.voidsetTags(Collection<Tag> tags)The tags of the WorkSpace request.voidsetUserName(String userName)The username that the WorkSpace is assigned to.voidsetUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)Specifies whether the data stored on the user volume, or D: drive, is encrypted.voidsetVolumeEncryptionKey(String volumeEncryptionKey)The KMS key used to encrypt data stored on your WorkSpace.StringtoString()Returns a string representation of this object; useful for testing and debugging.WorkspaceRequestwithBundleId(String bundleId)The identifier of the bundle to create the WorkSpace from.WorkspaceRequestwithDirectoryId(String directoryId)The identifier of the AWS Directory Service directory to create the WorkSpace in.WorkspaceRequestwithRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)Specifies whether the data stored on the root volume, or C: drive, is encrypted.WorkspaceRequestwithTags(Tag... tags)The tags of the WorkSpace request.WorkspaceRequestwithTags(Collection<Tag> tags)The tags of the WorkSpace request.WorkspaceRequestwithUserName(String userName)The username that the WorkSpace is assigned to.WorkspaceRequestwithUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)Specifies whether the data stored on the user volume, or D: drive, is encrypted.WorkspaceRequestwithVolumeEncryptionKey(String volumeEncryptionKey)The KMS key used to encrypt data stored on your WorkSpace.
-
-
-
Method Detail
-
setDirectoryId
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.
- 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
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.
- 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
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.
- 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
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
DirectoryIdmember.- Parameters:
userName- The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by theDirectoryIdmember.
-
getUserName
public String getUserName()
The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the
DirectoryIdmember.- Returns:
- The username that the WorkSpace is assigned to. This username
must exist in the AWS Directory Service directory specified by
the
DirectoryIdmember.
-
withUserName
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
DirectoryIdmember.- Parameters:
userName- The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by theDirectoryIdmember.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBundleId
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.
- 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
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.
- 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
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.
- 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
public void setVolumeEncryptionKey(String volumeEncryptionKey)
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
public String 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
public WorkspaceRequest withVolumeEncryptionKey(String volumeEncryptionKey)
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
public void setUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
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
public Boolean 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
public WorkspaceRequest withUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
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
public Boolean 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
public void setRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
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
public Boolean 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
public WorkspaceRequest withRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
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
public Boolean 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
public List<Tag> getTags()
The tags of the WorkSpace request.
- Returns:
- The tags of the WorkSpace request.
-
setTags
public void setTags(Collection<Tag> tags)
The tags of the WorkSpace request.
- Parameters:
tags- The tags of the WorkSpace request.
-
withTags
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)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
public WorkspaceRequest withTags(Collection<Tag> tags)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkspaceRequest clone()
-
-