Class DeleteInstanceRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.DeleteInstanceRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteInstanceRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Whether to delete the instance Elastic IP address.Whether to delete the instance's Amazon EBS volumes.The instance ID.int
hashCode()
Whether to delete the instance Elastic IP address.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDeleteElasticIp
(Boolean deleteElasticIp) Whether to delete the instance Elastic IP address.withDeleteVolumes
(Boolean deleteVolumes) Whether to delete the instance's Amazon EBS volumes.withInstanceId
(String instanceId) The instance ID.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DeleteInstanceRequest
public DeleteInstanceRequest()
-
-
Method Details
-
setInstanceId
The instance ID.
- Parameters:
instanceId
- The instance ID.
-
getInstanceId
The instance ID.
- Returns:
- The instance ID.
-
withInstanceId
The instance ID.
- Parameters:
instanceId
- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeleteElasticIp
Whether to delete the instance Elastic IP address.
- Parameters:
deleteElasticIp
- Whether to delete the instance Elastic IP address.
-
getDeleteElasticIp
Whether to delete the instance Elastic IP address.
- Returns:
- Whether to delete the instance Elastic IP address.
-
withDeleteElasticIp
Whether to delete the instance Elastic IP address.
- Parameters:
deleteElasticIp
- Whether to delete the instance Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDeleteElasticIp
Whether to delete the instance Elastic IP address.
- Returns:
- Whether to delete the instance Elastic IP address.
-
setDeleteVolumes
Whether to delete the instance's Amazon EBS volumes.
- Parameters:
deleteVolumes
- Whether to delete the instance's Amazon EBS volumes.
-
getDeleteVolumes
Whether to delete the instance's Amazon EBS volumes.
- Returns:
- Whether to delete the instance's Amazon EBS volumes.
-
withDeleteVolumes
Whether to delete the instance's Amazon EBS volumes.
- Parameters:
deleteVolumes
- Whether to delete the instance's Amazon EBS volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDeleteVolumes
Whether to delete the instance's Amazon EBS volumes.
- Returns:
- Whether to delete the instance's Amazon EBS volumes.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-