@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDeleteElasticIp()
Whether to delete the instance Elastic IP address.
|
Boolean |
getDeleteVolumes()
Whether to delete the instance's 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's Amazon EBS volumes.
|
void |
setDeleteElasticIp(Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address.
|
void |
setDeleteVolumes(Boolean deleteVolumes)
Whether to delete the instance's Amazon EBS volumes.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object.
|
DeleteInstanceRequest |
withDeleteElasticIp(Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address.
|
DeleteInstanceRequest |
withDeleteVolumes(Boolean deleteVolumes)
Whether to delete the instance's Amazon EBS volumes.
|
DeleteInstanceRequest |
withInstanceId(String instanceId)
The instance ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public DeleteInstanceRequest withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setDeleteElasticIp(Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address.
deleteElasticIp
- Whether to delete the instance Elastic IP address.public Boolean getDeleteElasticIp()
Whether to delete the instance Elastic IP address.
public DeleteInstanceRequest withDeleteElasticIp(Boolean deleteElasticIp)
Whether to delete the instance Elastic IP address.
deleteElasticIp
- Whether to delete the instance Elastic IP address.public Boolean isDeleteElasticIp()
Whether to delete the instance Elastic IP address.
public void setDeleteVolumes(Boolean deleteVolumes)
Whether to delete the instance's Amazon EBS volumes.
deleteVolumes
- Whether to delete the instance's Amazon EBS volumes.public Boolean getDeleteVolumes()
Whether to delete the instance's Amazon EBS volumes.
public DeleteInstanceRequest withDeleteVolumes(Boolean deleteVolumes)
Whether to delete the instance's Amazon EBS volumes.
deleteVolumes
- Whether to delete the instance's Amazon EBS volumes.public Boolean isDeleteVolumes()
Whether to delete the instance's Amazon EBS volumes.
public String toString()
toString
in class Object
Object.toString()
public DeleteInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()