public class RebootWorkspacesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the results of the RebootWorkspaces operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<FailedWorkspaceChangeRequest> |
failedRequests
An array of structures that represent any WorkSpaces that could not be
rebooted.
|
Constructor and Description |
---|
RebootWorkspacesResult() |
Modifier and Type | Method and Description |
---|---|
RebootWorkspacesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<FailedWorkspaceChangeRequest> |
getFailedRequests()
An array of structures that represent any WorkSpaces that could not be
rebooted.
|
int |
hashCode() |
void |
setFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be
rebooted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RebootWorkspacesResult |
withFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be
rebooted.
|
RebootWorkspacesResult |
withFailedRequests(FailedWorkspaceChangeRequest... failedRequests)
An array of structures that represent any WorkSpaces that could not be
rebooted.
|
private SdkInternalList<FailedWorkspaceChangeRequest> failedRequests
An array of structures that represent any WorkSpaces that could not be rebooted.
public java.util.List<FailedWorkspaceChangeRequest> getFailedRequests()
An array of structures that represent any WorkSpaces that could not be rebooted.
public void setFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.
failedRequests
- An array of structures that represent any WorkSpaces that could
not be rebooted.public RebootWorkspacesResult withFailedRequests(FailedWorkspaceChangeRequest... failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.
NOTE: This method appends the values to the existing list (if
any). Use setFailedRequests(java.util.Collection)
or
withFailedRequests(java.util.Collection)
if you want to override
the existing values.
failedRequests
- An array of structures that represent any WorkSpaces that could
not be rebooted.public RebootWorkspacesResult withFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.
failedRequests
- An array of structures that represent any WorkSpaces that could
not be rebooted.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 RebootWorkspacesResult clone()
clone
in class java.lang.Object