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:
Serializable

public class DeleteInstanceRequest
extends AmazonWebServiceRequest
implements 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(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

DeleteInstanceRequest

public DeleteInstanceRequest()
Method Detail

getInstanceId

public String getInstanceId()
The instance ID.

Returns:
The instance ID.

setInstanceId

public void setInstanceId(String instanceId)
The instance ID.

Parameters:
instanceId - The instance ID.

withInstanceId

public DeleteInstanceRequest withInstanceId(String instanceId)
The instance ID.

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

Parameters:
instanceId - The instance ID.
Returns:
A reference to this updated object so that method calls can be chained together.

isDeleteElasticIp

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

Returns:
Whether to delete the instance Elastic IP address.

setDeleteElasticIp

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

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

withDeleteElasticIp

public DeleteInstanceRequest withDeleteElasticIp(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.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeleteElasticIp

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

Returns:
Whether to delete the instance Elastic IP address.

isDeleteVolumes

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

Returns:
Whether to delete the instance Amazon EBS volumes.

setDeleteVolumes

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

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

withDeleteVolumes

public DeleteInstanceRequest withDeleteVolumes(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.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeleteVolumes

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

Returns:
Whether to delete the instance Amazon EBS volumes.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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