Package org.jclouds.ec2.options
Class DetachVolumeOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.ec2.options.internal.BaseEC2RequestOptions
-
- org.jclouds.ec2.options.DetachVolumeOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class DetachVolumeOptions extends BaseEC2RequestOptions
Contains options supported in the Form API for the DetachVolume operation.Usage
The recommended way to instantiate a DetachVolumeOptions object is to statically import DetachVolumeOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):import static org.jclouds.ec2.options.DetachVolumeOptions.Builder.* EC2Api client = // get connection client.getElasticBlockStoreApi().get().detachVolumeInRegion(null, id, fromDevice("123125").force());
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DetachVolumeOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description DetachVolumeOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetachVolumeOptions
fromDevice(String device)
The device name.DetachVolumeOptions
fromInstance(String instanceId)
The ID of the instance.String
getDevice()
String
getInstance()
-
Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
-
-
-
-
Method Detail
-
fromInstance
public DetachVolumeOptions fromInstance(String instanceId)
The ID of the instance.
-
getInstance
public String getInstance()
-
fromDevice
public DetachVolumeOptions fromDevice(String device)
The device name.
-
getDevice
public String getDevice()
-
-