@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AttachVolumeInput
NOOP
Constructor and Description |
---|
DetachVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
DetachVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getForceDetach()
Set to
true to forcibly remove the iSCSI connection of the target volume and detach the volume. |
String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
|
int |
hashCode() |
Boolean |
isForceDetach()
Set to
true to forcibly remove the iSCSI connection of the target volume and detach the volume. |
void |
setForceDetach(Boolean forceDetach)
Set to
true to forcibly remove the iSCSI connection of the target volume and detach the volume. |
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
|
String |
toString()
Returns a string representation of this object.
|
DetachVolumeRequest |
withForceDetach(Boolean forceDetach)
Set to
true to forcibly remove the iSCSI connection of the target volume and detach the volume. |
DetachVolumeRequest |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
|
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 setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
volumeARN
- The Amazon Resource Name (ARN) of the volume to detach from the gateway.public String getVolumeARN()
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
public DetachVolumeRequest withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
volumeARN
- The Amazon Resource Name (ARN) of the volume to detach from the gateway.public void setForceDetach(Boolean forceDetach)
Set to true
to forcibly remove the iSCSI connection of the target volume and detach the volume. The
default is false
. If this value is set to false
, you must manually disconnect the iSCSI
connection from the target volume.
Valid Values: true
| false
forceDetach
- Set to true
to forcibly remove the iSCSI connection of the target volume and detach the
volume. The default is false
. If this value is set to false
, you must manually
disconnect the iSCSI connection from the target volume.
Valid Values: true
| false
public Boolean getForceDetach()
Set to true
to forcibly remove the iSCSI connection of the target volume and detach the volume. The
default is false
. If this value is set to false
, you must manually disconnect the iSCSI
connection from the target volume.
Valid Values: true
| false
true
to forcibly remove the iSCSI connection of the target volume and detach the
volume. The default is false
. If this value is set to false
, you must manually
disconnect the iSCSI connection from the target volume.
Valid Values: true
| false
public DetachVolumeRequest withForceDetach(Boolean forceDetach)
Set to true
to forcibly remove the iSCSI connection of the target volume and detach the volume. The
default is false
. If this value is set to false
, you must manually disconnect the iSCSI
connection from the target volume.
Valid Values: true
| false
forceDetach
- Set to true
to forcibly remove the iSCSI connection of the target volume and detach the
volume. The default is false
. If this value is set to false
, you must manually
disconnect the iSCSI connection from the target volume.
Valid Values: true
| false
public Boolean isForceDetach()
Set to true
to forcibly remove the iSCSI connection of the target volume and detach the volume. The
default is false
. If this value is set to false
, you must manually disconnect the iSCSI
connection from the target volume.
Valid Values: true
| false
true
to forcibly remove the iSCSI connection of the target volume and detach the
volume. The default is false
. If this value is set to false
, you must manually
disconnect the iSCSI connection from the target volume.
Valid Values: true
| false
public String toString()
toString
in class Object
Object.toString()
public DetachVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()