Modifier and Type | Class and Description |
---|---|
static class |
CreateVolumeOptions.Builder |
Modifier and Type | Field and Description |
---|---|
protected String |
availabilityZone |
protected String |
description |
protected Map<String,String> |
metadata |
protected String |
name |
static CreateVolumeOptions |
NONE |
protected String |
snapshotId |
protected String |
volumeType |
Constructor and Description |
---|
CreateVolumeOptions() |
Modifier and Type | Method and Description |
---|---|
CreateVolumeOptions |
availabilityZone(String availabilityZone) |
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object toBind) |
CreateVolumeOptions |
description(String description) |
boolean |
equals(Object object) |
String |
getAvailabilityZone() |
String |
getDescription() |
Map<String,String> |
getMetadata() |
String |
getName() |
String |
getSnapshotId() |
String |
getVolumeType() |
int |
hashCode() |
CreateVolumeOptions |
metadata(Map<String,String> metadata)
Custom cloud server metadata can also be supplied at launch time.
|
CreateVolumeOptions |
name(String name) |
CreateVolumeOptions |
snapshotId(String snapshotId) |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
CreateVolumeOptions |
volumeType(String volumeType) |
public static final CreateVolumeOptions NONE
protected String name
protected String description
protected String volumeType
protected String availabilityZone
protected String snapshotId
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public <R extends HttpRequest> R bindToRequest(R request, Object toBind)
bindToRequest
in interface Binder
protected com.google.common.base.Objects.ToStringHelper string()
public CreateVolumeOptions metadata(Map<String,String> metadata)
public CreateVolumeOptions name(String name)
public CreateVolumeOptions description(String description)
public CreateVolumeOptions volumeType(String volumeType)
public CreateVolumeOptions availabilityZone(String availabilityZone)
public CreateVolumeOptions snapshotId(String snapshotId)
public String getVolumeType()
public String getAvailabilityZone()
public String getSnapshotId()
public String getName()
public String getDescription()
Copyright © 2009-2013 jclouds. All Rights Reserved.