Package com.exoscale.sdk.model
Class CreateBlockStorageVolumeRequest
java.lang.Object
com.exoscale.sdk.model.CreateBlockStorageVolumeRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CreateBlockStorageVolumeRequest
extends Object
CreateBlockStorageVolumeRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockStorageSnapshot
(BlockStorageSnapshotTarget blockStorageSnapshot) boolean
Return true if this create_block_storage_volume_request object is equal to o.Get blockStorageSnapshotGet labelsgetName()
Volume namegetSize()
Volume size in GiB.int
hashCode()
putLabelsItem
(String key, String labelsItem) void
setBlockStorageSnapshot
(BlockStorageSnapshotTarget blockStorageSnapshot) void
void
void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_BLOCK_STORAGE_SNAPSHOT
- See Also:
-
-
Constructor Details
-
CreateBlockStorageVolumeRequest
public CreateBlockStorageVolumeRequest()
-
-
Method Details
-
name
-
getName
Volume name- Returns:
- name
-
setName
-
size
-
getSize
Volume size in GiB. When a snapshot ID is supplied, this defaults to the size of the source volume, but can be set to a larger value. minimum: 1- Returns:
- size
-
setSize
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
blockStorageSnapshot
public CreateBlockStorageVolumeRequest blockStorageSnapshot(BlockStorageSnapshotTarget blockStorageSnapshot) -
getBlockStorageSnapshot
Get blockStorageSnapshot- Returns:
- blockStorageSnapshot
-
setBlockStorageSnapshot
-
equals
Return true if this create_block_storage_volume_request object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-