|
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.DeleteInstanceRequest
public class DeleteInstanceRequest
Container for the parameters to the DeleteInstance operation
.
Deletes a specified instance. You must stop an instance before you can delete it. For more information, see Deleting Instances .
AWSOpsWorks.deleteInstance(DeleteInstanceRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteInstanceRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getDeleteElasticIp()
Whether to delete the instance Elastic IP address. |
Boolean |
getDeleteVolumes()
Whether to delete the instance Amazon EBS volumes. |
String |
getInstanceId()
The instance ID. |
int |
hashCode()
|
Boolean |
isDeleteElasticIp()
Whether to delete the instance Elastic IP address. |
Boolean |
isDeleteVolumes()
Whether to delete the instance Amazon EBS volumes. |
void |
setDeleteElasticIp(Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address. |
void |
setDeleteVolumes(Boolean deleteVolumes)
Whether to delete the instance Amazon EBS volumes. |
void |
setInstanceId(String instanceId)
The instance ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteInstanceRequest |
withDeleteElasticIp(Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address. |
DeleteInstanceRequest |
withDeleteVolumes(Boolean deleteVolumes)
Whether to delete the instance Amazon EBS volumes. |
DeleteInstanceRequest |
withInstanceId(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 DeleteInstanceRequest()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public DeleteInstanceRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.
public Boolean isDeleteElasticIp()
public void setDeleteElasticIp(Boolean deleteElasticIp)
deleteElasticIp
- Whether to delete the instance Elastic IP address.public DeleteInstanceRequest withDeleteElasticIp(Boolean deleteElasticIp)
Returns a reference to this object so that method calls can be chained together.
deleteElasticIp
- Whether to delete the instance Elastic IP address.
public Boolean getDeleteElasticIp()
public Boolean isDeleteVolumes()
public void setDeleteVolumes(Boolean deleteVolumes)
deleteVolumes
- Whether to delete the instance Amazon EBS volumes.public DeleteInstanceRequest withDeleteVolumes(Boolean deleteVolumes)
Returns a reference to this object so that method calls can be chained together.
deleteVolumes
- Whether to delete the instance Amazon EBS volumes.
public Boolean getDeleteVolumes()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |