public class RebootInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable
RebootInstances operation.
The RebootInstances operation requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instance(s). The operation will succeed if the instances are valid and belong to the user. Requests to reboot terminated instances are ignored.
| コンストラクタと説明 |
|---|
RebootInstancesRequest()
Default constructor for a new RebootInstancesRequest object.
|
RebootInstancesRequest(java.util.List<java.lang.String> instanceIds)
Constructs a new RebootInstancesRequest 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.
|
RebootInstancesRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The list of instances to terminate.
|
RebootInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
The list of instances to terminate.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic RebootInstancesRequest()
public RebootInstancesRequest(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 RebootInstancesRequest 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 RebootInstancesRequest 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