public class TerminateWorkspacesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the results of the TerminateWorkspaces operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<FailedWorkspaceChangeRequest> |
failedRequests
An array of structures that represent any WorkSpaces that could not be
terminated.
|
Constructor and Description |
---|
TerminateWorkspacesResult() |
Modifier and Type | Method and Description |
---|---|
TerminateWorkspacesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<FailedWorkspaceChangeRequest> |
getFailedRequests()
An array of structures that represent any WorkSpaces that could not be
terminated.
|
int |
hashCode() |
void |
setFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be
terminated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateWorkspacesResult |
withFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be
terminated.
|
TerminateWorkspacesResult |
withFailedRequests(FailedWorkspaceChangeRequest... failedRequests)
An array of structures that represent any WorkSpaces that could not be
terminated.
|
private SdkInternalList<FailedWorkspaceChangeRequest> failedRequests
An array of structures that represent any WorkSpaces that could not be terminated.
public java.util.List<FailedWorkspaceChangeRequest> getFailedRequests()
An array of structures that represent any WorkSpaces that could not be terminated.
public void setFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be terminated.
failedRequests
- An array of structures that represent any WorkSpaces that could
not be terminated.public TerminateWorkspacesResult withFailedRequests(FailedWorkspaceChangeRequest... failedRequests)
An array of structures that represent any WorkSpaces that could not be terminated.
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 terminated.public TerminateWorkspacesResult withFailedRequests(java.util.Collection<FailedWorkspaceChangeRequest> failedRequests)
An array of structures that represent any WorkSpaces that could not be terminated.
failedRequests
- An array of structures that represent any WorkSpaces that could
not be terminated.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 TerminateWorkspacesResult clone()
clone
in class java.lang.Object