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 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 String toString()
toString
in class Object
Object.toString()
public WorkspaceRequest clone()
Copyright © 2015. All rights reserved.