@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDiskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteDiskRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteDiskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDiskName()
The unique name of the disk you want to delete (
my-disk ). |
Boolean |
getForceDeleteAddOns()
A Boolean value to indicate whether to delete all add-ons for the disk.
|
int |
hashCode() |
Boolean |
isForceDeleteAddOns()
A Boolean value to indicate whether to delete all add-ons for the disk.
|
void |
setDiskName(String diskName)
The unique name of the disk you want to delete (
my-disk ). |
void |
setForceDeleteAddOns(Boolean forceDeleteAddOns)
A Boolean value to indicate whether to delete all add-ons for the disk.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDiskRequest |
withDiskName(String diskName)
The unique name of the disk you want to delete (
my-disk ). |
DeleteDiskRequest |
withForceDeleteAddOns(Boolean forceDeleteAddOns)
A Boolean value to indicate whether to delete all add-ons for the disk.
|
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 setDiskName(String diskName)
The unique name of the disk you want to delete (my-disk
).
diskName
- The unique name of the disk you want to delete (my-disk
).public String getDiskName()
The unique name of the disk you want to delete (my-disk
).
my-disk
).public DeleteDiskRequest withDiskName(String diskName)
The unique name of the disk you want to delete (my-disk
).
diskName
- The unique name of the disk you want to delete (my-disk
).public void setForceDeleteAddOns(Boolean forceDeleteAddOns)
A Boolean value to indicate whether to delete all add-ons for the disk.
forceDeleteAddOns
- A Boolean value to indicate whether to delete all add-ons for the disk.public Boolean getForceDeleteAddOns()
A Boolean value to indicate whether to delete all add-ons for the disk.
public DeleteDiskRequest withForceDeleteAddOns(Boolean forceDeleteAddOns)
A Boolean value to indicate whether to delete all add-ons for the disk.
forceDeleteAddOns
- A Boolean value to indicate whether to delete all add-ons for the disk.public Boolean isForceDeleteAddOns()
A Boolean value to indicate whether to delete all add-ons for the disk.
public String toString()
toString
in class Object
Object.toString()
public DeleteDiskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()