public class CreateWorkspacesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the inputs for the CreateWorkspaces operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<WorkspaceRequest> |
workspaces
An array of structures that specify the WorkSpaces to create.
|
NOOP
Constructor and Description |
---|
CreateWorkspacesRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspacesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<WorkspaceRequest> |
getWorkspaces()
An array of structures that specify the WorkSpaces to create.
|
int |
hashCode() |
void |
setWorkspaces(java.util.Collection<WorkspaceRequest> workspaces)
An array of structures that specify the WorkSpaces to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateWorkspacesRequest |
withWorkspaces(java.util.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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private SdkInternalList<WorkspaceRequest> workspaces
An array of structures that specify the WorkSpaces to create.
public java.util.List<WorkspaceRequest> getWorkspaces()
An array of structures that specify the WorkSpaces to create.
public void setWorkspaces(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateWorkspacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()