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:
  • Constructor Details

    • WorkspaceRequest

      public WorkspaceRequest()
  • Method Details

    • 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 DirectoryId member.

      Parameters:
      userName - The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the DirectoryId member.
    • 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 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

      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.

      Parameters:
      userName - The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the DirectoryId member.
      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) or withTags(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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public WorkspaceRequest clone()
      Overrides:
      clone in class Object