Package com.exoscale.sdk.model
Class BlockStorageVolume
java.lang.Object
com.exoscale.sdk.model.BlockStorageVolume
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class BlockStorageVolume
extends Object
Block storage volume
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockStorageVolume(BlockStorageVolume.StateEnum state, Long blocksize, UUID id, OffsetDateTime createdAt) -
Method Summary
Modifier and TypeMethodDescriptionaddBlockStorageSnapshotsItem(BlockStorageSnapshotTarget blockStorageSnapshotsItem) blockStorageSnapshots(List<BlockStorageSnapshotTarget> blockStorageSnapshots) booleanReturn true if this block-storage-volume object is equal to o.Volume block size minimum: 0Volume snapshots, if anyVolume creation dategetId()Volume IDGet instanceGet labelsgetName()Volume namegetSize()Volume size minimum: 1getState()Volume stateinthashCode()instance(InstanceTarget instance) putLabelsItem(String key, String labelsItem) voidsetBlockStorageSnapshots(List<BlockStorageSnapshotTarget> blockStorageSnapshots) voidsetInstance(InstanceTarget instance) voidvoidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_INSTANCE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_BLOCKSIZE
- See Also:
-
JSON_PROPERTY_BLOCK_STORAGE_SNAPSHOTS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
-
Constructor Details
-
BlockStorageVolume
public BlockStorageVolume() -
BlockStorageVolume
public BlockStorageVolume(BlockStorageVolume.StateEnum state, Long blocksize, UUID id, OffsetDateTime createdAt)
-
-
Method Details
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
instance
-
getInstance
Get instance- Returns:
- instance
-
setInstance
-
name
-
getName
Volume name- Returns:
- name
-
setName
-
getState
Volume state- Returns:
- state
-
size
-
getSize
Volume size minimum: 1- Returns:
- size
-
setSize
-
getBlocksize
Volume block size minimum: 0- Returns:
- blocksize
-
blockStorageSnapshots
public BlockStorageVolume blockStorageSnapshots(List<BlockStorageSnapshotTarget> blockStorageSnapshots) -
addBlockStorageSnapshotsItem
public BlockStorageVolume addBlockStorageSnapshotsItem(BlockStorageSnapshotTarget blockStorageSnapshotsItem) -
getBlockStorageSnapshots
Volume snapshots, if any- Returns:
- blockStorageSnapshots
-
setBlockStorageSnapshots
-
getId
Volume ID- Returns:
- id
-
getCreatedAt
Volume creation date- Returns:
- createdAt
-
equals
Return true if this block-storage-volume 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
-