public class RebootWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RebootWorkspaces operation.
Reboots the specified WorkSpaces.
To be able to reboot a WorkSpace, the WorkSpace must have a
State of AVAILABLE ,
IMPAIRED , or INOPERABLE
.
NOTE: This operation is asynchronous and will return before the WorkSpaces have rebooted.
NOOP| Constructor and Description |
|---|
RebootWorkspacesRequest() |
| Modifier and Type | Method and Description |
|---|---|
RebootWorkspacesRequest |
clone() |
boolean |
equals(Object obj) |
List<RebootRequest> |
getRebootWorkspaceRequests()
An array of structures that specify the WorkSpaces to reboot.
|
int |
hashCode() |
void |
setRebootWorkspaceRequests(Collection<RebootRequest> rebootWorkspaceRequests)
An array of structures that specify the WorkSpaces to reboot.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RebootWorkspacesRequest |
withRebootWorkspaceRequests(Collection<RebootRequest> rebootWorkspaceRequests)
An array of structures that specify the WorkSpaces to reboot.
|
RebootWorkspacesRequest |
withRebootWorkspaceRequests(RebootRequest... rebootWorkspaceRequests)
An array of structures that specify the WorkSpaces to reboot.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<RebootRequest> getRebootWorkspaceRequests()
Constraints:
Length: 1 - 25
public void setRebootWorkspaceRequests(Collection<RebootRequest> rebootWorkspaceRequests)
Constraints:
Length: 1 - 25
rebootWorkspaceRequests - An array of structures that specify the WorkSpaces to reboot.public RebootWorkspacesRequest withRebootWorkspaceRequests(RebootRequest... rebootWorkspaceRequests)
NOTE: This method appends the values to the existing list (if
any). Use setRebootWorkspaceRequests(java.util.Collection) or
withRebootWorkspaceRequests(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
rebootWorkspaceRequests - An array of structures that specify the WorkSpaces to reboot.public RebootWorkspacesRequest withRebootWorkspaceRequests(Collection<RebootRequest> rebootWorkspaceRequests)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
rebootWorkspaceRequests - An array of structures that specify the WorkSpaces to reboot.public String toString()
toString in class ObjectObject.toString()public RebootWorkspacesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.