Class CreateVolumeOptions
java.lang.Object
org.jclouds.openstack.cinder.v1.options.CreateVolumeOptions
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) <R extends HttpRequest>
RbindToRequest(R request, Object toBind) <R extends HttpRequest>
RbindToRequest(R request, Map<String, Object> postParams) creates and binds the POST payload to the request using parameters specified.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
Description copied from interface:MapBindercreates and binds the POST payload to the request using parameters specified.- Specified by:
bindToRequestin interfaceMapBinder- See Also:
-
bindToRequest
- Specified by:
bindToRequestin interfaceBinder
-
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
- Parameters:
name- The name of the Volume
-
description
- Parameters:
description- A description of the Volume
-
volumeType
- Parameters:
volumeType- The type of Volume to create- See Also:
-
availabilityZone
- Parameters:
availabilityZone- The optional availability zone in which to create a Volume
-
snapshotId
- Parameters:
snapshotId- The optional snapshot from which to create a Volume
-
getVolumeType
-
getAvailabilityZone
-
getSnapshotId
-
getName
-
getDescription
-
getMetadata
-