public class RebuildWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RebuildWorkspaces operation.
Rebuilds the specified WorkSpaces.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. Rebuilding a WorkSpace causes the following to occur:
To be able to rebuild a WorkSpace, the WorkSpace must have a
State of AVAILABLE or ERROR .
NOTE: This operation is asynchronous and will return before the WorkSpaces have been completely rebuilt.
NOOP| Constructor and Description |
|---|
RebuildWorkspacesRequest() |
| Modifier and Type | Method and Description |
|---|---|
RebuildWorkspacesRequest |
clone() |
boolean |
equals(Object obj) |
List<RebuildRequest> |
getRebuildWorkspaceRequests()
An array of structures that specify the WorkSpaces to rebuild.
|
int |
hashCode() |
void |
setRebuildWorkspaceRequests(Collection<RebuildRequest> rebuildWorkspaceRequests)
An array of structures that specify the WorkSpaces to rebuild.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RebuildWorkspacesRequest |
withRebuildWorkspaceRequests(Collection<RebuildRequest> rebuildWorkspaceRequests)
An array of structures that specify the WorkSpaces to rebuild.
|
RebuildWorkspacesRequest |
withRebuildWorkspaceRequests(RebuildRequest... rebuildWorkspaceRequests)
An array of structures that specify the WorkSpaces to rebuild.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<RebuildRequest> getRebuildWorkspaceRequests()
Constraints:
Length: 1 - 1
public void setRebuildWorkspaceRequests(Collection<RebuildRequest> rebuildWorkspaceRequests)
Constraints:
Length: 1 - 1
rebuildWorkspaceRequests - An array of structures that specify the WorkSpaces to rebuild.public RebuildWorkspacesRequest withRebuildWorkspaceRequests(RebuildRequest... rebuildWorkspaceRequests)
NOTE: This method appends the values to the existing list (if
any). Use setRebuildWorkspaceRequests(java.util.Collection)
or withRebuildWorkspaceRequests(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 - 1
rebuildWorkspaceRequests - An array of structures that specify the WorkSpaces to rebuild.public RebuildWorkspacesRequest withRebuildWorkspaceRequests(Collection<RebuildRequest> rebuildWorkspaceRequests)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1
rebuildWorkspaceRequests - An array of structures that specify the WorkSpaces to rebuild.public String toString()
toString in class ObjectObject.toString()public RebuildWorkspacesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.