@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateWorkspaces operation.
NOOP
Constructor and Description |
---|
CreateWorkspacesRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspacesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<WorkspaceRequest> getWorkspaces()
An array of structures that specify the WorkSpaces to create.
public void setWorkspaces(Collection<WorkspaceRequest> workspaces)
An array of structures that specify the WorkSpaces to create.
workspaces
- An array of structures that specify the WorkSpaces to create.public CreateWorkspacesRequest withWorkspaces(WorkspaceRequest... workspaces)
An array of structures that specify the WorkSpaces to create.
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.
workspaces
- An array of structures that specify the WorkSpaces to create.public CreateWorkspacesRequest withWorkspaces(Collection<WorkspaceRequest> workspaces)
An array of structures that specify the WorkSpaces to create.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.