public class DetachVolumeOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.DetachVolumeOptions.Builder.*
EC2Client client = // get connection
client.getElasticBlockStoreServices().detachVolumeInRegion(null, id, fromDevice("123125").force());
Modifier and Type | Class and Description |
---|---|
static class |
DetachVolumeOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
DetachVolumeOptions() |
Modifier and Type | Method and Description |
---|---|
DetachVolumeOptions |
fromDevice(String device)
The device name.
|
DetachVolumeOptions |
fromInstance(String instanceId)
The ID of the instance.
|
String |
getDevice() |
String |
getInstance() |
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public DetachVolumeOptions fromInstance(String instanceId)
public String getInstance()
public DetachVolumeOptions fromDevice(String device)
public String getDevice()
Copyright © 2009-2012 jclouds. All Rights Reserved.