Class CreateVolumeOptions
java.lang.Object
org.jclouds.openstack.nova.v2_0.options.CreateVolumeOptions
- All Implemented Interfaces:
org.jclouds.rest.Binder,org.jclouds.rest.MapBinder
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) <R extends org.jclouds.http.HttpRequest>
RbindToRequest(R request, Object toBind) <R extends org.jclouds.http.HttpRequest>
RbindToRequest(R request, Map<String, Object> postParams) description(String description) booleangetName()inthashCode()Custom cloud server metadata can also be supplied at launch time.snapshotId(String snapshotId) protected com.google.common.base.MoreObjects.ToStringHelperstring()toString()volumeType(String volumeType)
-
Field Details
-
NONE
-
name
-
description
-
volumeType
-
availabilityZone
-
snapshotId
-
metadata
-
-
Constructor Details
-
CreateVolumeOptions
public CreateVolumeOptions()
-
-
Method Details
-
bindToRequest
public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) - Specified by:
bindToRequestin interfaceorg.jclouds.rest.MapBinder
-
bindToRequest
- Specified by:
bindToRequestin interfaceorg.jclouds.rest.Binder
-
equals
-
hashCode
public int hashCode() -
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
metadata
Custom cloud server metadata can also be supplied at launch time. This metadata is stored in the API system where it is retrievable by querying the API for server status. The maximum size of the metadata key and value is each 255 bytes and the maximum number of key-value pairs that can be supplied per volume is 5. -
name
-
description
-
volumeType
-
availabilityZone
-
snapshotId
-
getVolumeType
-
getAvailabilityZone
-
getSnapshotId
-
getName
-
getDescription
-
getMetadata
-