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