public class DetachVolumeOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.DetachVolumeOptions.Builder.*
EC2Api client = // get connection
client.getElasticBlockStoreApi().get().detachVolumeInRegion(null, id, fromDevice("123125").force());
Modifier and Type | Class and Description |
---|---|
static class |
DetachVolumeOptions.Builder |
formParameters, headers, 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, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public DetachVolumeOptions fromInstance(String instanceId)
public String getInstance()
public DetachVolumeOptions fromDevice(String device)
public String getDevice()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.