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()
Creates a shallow clone of this request.
|
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, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
public CreateWorkspacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.