|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.RebootInstancesRequest
public class RebootInstancesRequest
Container for the parameters to the RebootInstances operation.
Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.
If a Linux/Unix instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot.
For more information about troubleshooting, see Getting Console Output and Rebooting Instances in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.rebootInstances(RebootInstancesRequest),
Serialized Form| Constructor Summary | |
|---|---|
RebootInstancesRequest()
Default constructor for a new RebootInstancesRequest object. |
|
RebootInstancesRequest(java.util.List<java.lang.String> instanceIds)
Constructs a new RebootInstancesRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
Request<RebootInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.util.List<java.lang.String> |
getInstanceIds()
One or more instance IDs. |
int |
hashCode()
|
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more instance IDs. |
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)
One or more instance IDs. |
RebootInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
One or more instance IDs. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RebootInstancesRequest()
public RebootInstancesRequest(java.util.List<java.lang.String> instanceIds)
instanceIds - One or more instance IDs.| Method Detail |
|---|
public java.util.List<java.lang.String> getInstanceIds()
public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
instanceIds - One or more instance IDs.public RebootInstancesRequest withInstanceIds(java.lang.String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - One or more instance IDs.
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 - One or more instance IDs.
public Request<RebootInstancesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<RebootInstancesRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||