public class TerminateInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable
TerminateInstances operation.
The TerminateInstances operation shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call will succeed.
Terminated instances will remain visible after termination (approximately one hour).
| コンストラクタと説明 |
|---|
TerminateInstancesRequest()
Default constructor for a new TerminateInstancesRequest object.
|
TerminateInstancesRequest(java.util.List<java.lang.String> instanceIds)
Constructs a new TerminateInstancesRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInstanceIds()
The list of instances to terminate.
|
int |
hashCode() |
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The list of instances to terminate.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateInstancesRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The list of instances to terminate.
|
TerminateInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
The list of instances to terminate.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic TerminateInstancesRequest()
public TerminateInstancesRequest(java.util.List<java.lang.String> instanceIds)
instanceIds - The list of instances to terminate.public java.util.List<java.lang.String> getInstanceIds()
public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
instanceIds - The list of instances to terminate.public TerminateInstancesRequest withInstanceIds(java.lang.String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - The list of instances to terminate.public TerminateInstancesRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - The list of instances to terminate.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object