public class WorkspaceRequest extends Object implements Serializable, Cloneable
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.
|
String |
getUserName()
The username that the WorkSpace is assigned to.
|
int |
hashCode() |
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 |
setUserName(String userName)
The username that the WorkSpace is assigned to.
|
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 |
withUserName(String userName)
The username that the WorkSpace is assigned to.
|
public String getDirectoryId()
Constraints:
Pattern: ^d-[0-9a-f]{8,63}$
public void setDirectoryId(String directoryId)
Constraints:
Pattern: ^d-[0-9a-f]{8,63}$
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 WorkspaceRequest withDirectoryId(String directoryId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^d-[0-9a-f]{8,63}$
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 getUserName()
DirectoryId member.
Constraints:
Length: 1 - 63
DirectoryId member.public void setUserName(String userName)
DirectoryId member.
Constraints:
Length: 1 - 63
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 WorkspaceRequest withUserName(String userName)
DirectoryId member.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
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 getBundleId()
Constraints:
Pattern: ^wsb-[0-9a-z]{8,63}$
public void setBundleId(String bundleId)
Constraints:
Pattern: ^wsb-[0-9a-z]{8,63}$
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 WorkspaceRequest withBundleId(String bundleId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^wsb-[0-9a-z]{8,63}$
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 toString()
toString in class ObjectObject.toString()public WorkspaceRequest clone()
Copyright © 2015. All rights reserved.