public class TerminateWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
TerminateWorkspaces operation
.
Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except
SUSPENDED
.
NOTE: This operation is asynchronous and will return before the WorkSpaces have been completely terminated.
NOOP
Constructor and Description |
---|
TerminateWorkspacesRequest() |
Modifier and Type | Method and Description |
---|---|
TerminateWorkspacesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<TerminateRequest> |
getTerminateWorkspaceRequests()
An array of structures that specify the WorkSpaces to terminate.
|
int |
hashCode() |
void |
setTerminateWorkspaceRequests(Collection<TerminateRequest> terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateWorkspacesRequest |
withTerminateWorkspaceRequests(Collection<TerminateRequest> terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
|
TerminateWorkspacesRequest |
withTerminateWorkspaceRequests(TerminateRequest... terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<TerminateRequest> getTerminateWorkspaceRequests()
Constraints:
Length: 1 - 25
public void setTerminateWorkspaceRequests(Collection<TerminateRequest> terminateWorkspaceRequests)
Constraints:
Length: 1 - 25
terminateWorkspaceRequests
- An array of structures that specify the WorkSpaces to terminate.public TerminateWorkspacesRequest withTerminateWorkspaceRequests(TerminateRequest... terminateWorkspaceRequests)
NOTE: This method appends the values to the existing list (if
any). Use setTerminateWorkspaceRequests(java.util.Collection)
or withTerminateWorkspaceRequests(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
terminateWorkspaceRequests
- An array of structures that specify the WorkSpaces to terminate.public TerminateWorkspacesRequest withTerminateWorkspaceRequests(Collection<TerminateRequest> terminateWorkspaceRequests)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
terminateWorkspaceRequests
- An array of structures that specify the WorkSpaces to terminate.public String toString()
toString
in class Object
Object.toString()
public TerminateWorkspacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.