Class RebootWorkspacesResult
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.RebootWorkspacesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RebootWorkspacesResult extends Object implements Serializable, Cloneable
Contains the results of the RebootWorkspaces operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RebootWorkspacesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RebootWorkspacesResult
clone()
boolean
equals(Object obj)
List<FailedWorkspaceChangeRequest>
getFailedRequests()
An array of structures that represent any WorkSpaces that could not be rebooted.int
hashCode()
void
setFailedRequests(Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.String
toString()
Returns a string representation of this object; useful for testing and debugging.RebootWorkspacesResult
withFailedRequests(FailedWorkspaceChangeRequest... failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.RebootWorkspacesResult
withFailedRequests(Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.
-
-
-
Method Detail
-
getFailedRequests
public List<FailedWorkspaceChangeRequest> getFailedRequests()
An array of structures that represent any WorkSpaces that could not be rebooted.
- Returns:
- An array of structures that represent any WorkSpaces that could not be rebooted.
-
setFailedRequests
public void setFailedRequests(Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.
- Parameters:
failedRequests
- An array of structures that represent any WorkSpaces that could not be rebooted.
-
withFailedRequests
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)
orwithFailedRequests(java.util.Collection)
if you want to override the existing values.- Parameters:
failedRequests
- An array of structures that represent any WorkSpaces that could not be rebooted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailedRequests
public RebootWorkspacesResult withFailedRequests(Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be rebooted.
- Parameters:
failedRequests
- An array of structures that represent any WorkSpaces that could not be rebooted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RebootWorkspacesResult clone()
-
-