public class CreateWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateWorkspaces operation.
Creates one or more WorkSpaces.
NOTE: This operation is asynchronous and returns before the WorkSpaces are created.
NOOP| Constructor and Description |
|---|
CreateWorkspacesRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateWorkspacesRequest |
clone() |
boolean |
equals(Object obj) |
List<WorkspaceRequest> |
getWorkspaces()
An array of structures that specify the WorkSpaces to create.
|
int |
hashCode() |
void |
setWorkspaces(Collection<WorkspaceRequest> workspaces)
An array of structures that specify the WorkSpaces to create.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateWorkspacesRequest |
withWorkspaces(Collection<WorkspaceRequest> workspaces)
An array of structures that specify the WorkSpaces to create.
|
CreateWorkspacesRequest |
withWorkspaces(WorkspaceRequest... workspaces)
An array of structures that specify the WorkSpaces to create.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<WorkspaceRequest> getWorkspaces()
Constraints:
Length: 1 - 25
public void setWorkspaces(Collection<WorkspaceRequest> workspaces)
Constraints:
Length: 1 - 25
workspaces - An array of structures that specify the WorkSpaces to create.public CreateWorkspacesRequest withWorkspaces(WorkspaceRequest... workspaces)
NOTE: This method appends the values to the existing list (if
any). Use setWorkspaces(java.util.Collection) or withWorkspaces(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
workspaces - An array of structures that specify the WorkSpaces to create.public CreateWorkspacesRequest withWorkspaces(Collection<WorkspaceRequest> workspaces)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
workspaces - An array of structures that specify the WorkSpaces to create.public String toString()
toString in class ObjectObject.toString()public CreateWorkspacesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.