Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DeleteInstanceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.DeleteInstanceRequest
All Implemented Interfaces:
java.io.Serializable

public class DeleteInstanceRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

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 .

See Also:
AWSOpsWorks.deleteInstance(DeleteInstanceRequest), Serialized Form

Constructor Summary
DeleteInstanceRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getDeleteElasticIp()
          Whether to delete the instance Elastic IP address.
 java.lang.Boolean getDeleteVolumes()
          Whether to delete the instance Amazon EBS volumes.
 java.lang.String getInstanceId()
          The instance ID.
 int hashCode()
           
 java.lang.Boolean isDeleteElasticIp()
          Whether to delete the instance Elastic IP address.
 java.lang.Boolean isDeleteVolumes()
          Whether to delete the instance Amazon EBS volumes.
 void setDeleteElasticIp(java.lang.Boolean deleteElasticIp)
          Whether to delete the instance Elastic IP address.
 void setDeleteVolumes(java.lang.Boolean deleteVolumes)
          Whether to delete the instance Amazon EBS volumes.
 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.
 DeleteInstanceRequest withDeleteElasticIp(java.lang.Boolean deleteElasticIp)
          Whether to delete the instance Elastic IP address.
 DeleteInstanceRequest withDeleteVolumes(java.lang.Boolean deleteVolumes)
          Whether to delete the instance Amazon EBS volumes.
 DeleteInstanceRequest 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

DeleteInstanceRequest

public DeleteInstanceRequest()
Method Detail

getInstanceId

public java.lang.String getInstanceId()
The instance ID.

Returns:
The instance ID.

setInstanceId

public void setInstanceId(java.lang.String instanceId)
The instance ID.

Parameters:
instanceId - The instance ID.

withInstanceId

public DeleteInstanceRequest withInstanceId(java.lang.String instanceId)
The instance ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The instance ID.

isDeleteElasticIp

public java.lang.Boolean isDeleteElasticIp()
Whether to delete the instance Elastic IP address.

Returns:
Whether to delete the instance Elastic IP address.

setDeleteElasticIp

public void setDeleteElasticIp(java.lang.Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address.

Parameters:
deleteElasticIp - Whether to delete the instance Elastic IP address.

withDeleteElasticIp

public DeleteInstanceRequest withDeleteElasticIp(java.lang.Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deleteElasticIp - Whether to delete the instance Elastic IP address.

getDeleteElasticIp

public java.lang.Boolean getDeleteElasticIp()
Whether to delete the instance Elastic IP address.

Returns:
Whether to delete the instance Elastic IP address.

isDeleteVolumes

public java.lang.Boolean isDeleteVolumes()
Whether to delete the instance Amazon EBS volumes.

Returns:
Whether to delete the instance Amazon EBS volumes.

setDeleteVolumes

public void setDeleteVolumes(java.lang.Boolean deleteVolumes)
Whether to delete the instance Amazon EBS volumes.

Parameters:
deleteVolumes - Whether to delete the instance Amazon EBS volumes.

withDeleteVolumes

public DeleteInstanceRequest withDeleteVolumes(java.lang.Boolean deleteVolumes)
Whether to delete the instance Amazon EBS volumes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deleteVolumes - Whether to delete the instance Amazon EBS volumes.

getDeleteVolumes

public java.lang.Boolean getDeleteVolumes()
Whether to delete the instance Amazon EBS volumes.

Returns:
Whether to delete the instance Amazon EBS volumes.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.