|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.StopInstanceRequest
public class StopInstanceRequest
Container for the parameters to the StopInstance operation.
Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data.
AWSOpsWorks.stopInstance(StopInstanceRequest),
Serialized Form| Constructor Summary | |
|---|---|
StopInstanceRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getInstanceId()
The instance ID. |
int |
hashCode()
|
void |
setInstanceId(java.lang.String instanceId)
The instance ID. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
StopInstanceRequest |
withInstanceId(java.lang.String instanceId)
The instance ID. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StopInstanceRequest()
| Method Detail |
|---|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - The instance ID.public StopInstanceRequest withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The instance ID.
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 | ||||||