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:
  • Constructor Details

    • RebootWorkspacesResult

      public RebootWorkspacesResult()
  • Method Details

    • 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) or withFailedRequests(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RebootWorkspacesResult clone()
      Overrides:
      clone in class Object