|
|||||||
| 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.
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.
AmazonEC2.rebootInstances(RebootInstancesRequest)| Constructor Summary | |
|---|---|
RebootInstancesRequest()
Default constructor for a new RebootInstancesRequest object. |
|
RebootInstancesRequest(List<String> instanceIds)
Constructs a new RebootInstancesRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<String> |
getInstanceIds()
The list of instances to terminate. |
int |
hashCode()
|
void |
setInstanceIds(Collection<String> instanceIds)
The list of instances to terminate. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RebootInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
The list of instances to terminate. |
RebootInstancesRequest |
withInstanceIds(String... instanceIds)
The list of instances to terminate. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RebootInstancesRequest()
public RebootInstancesRequest(List<String> instanceIds)
instanceIds - The list of instances to terminate.| Method Detail |
|---|
public List<String> getInstanceIds()
public void setInstanceIds(Collection<String> instanceIds)
instanceIds - The list of instances to terminate.public RebootInstancesRequest withInstanceIds(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(Collection<String> instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - The list of instances to terminate.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||