Class BlockStorageSnapshot
java.lang.Object
com.exoscale.sdk.model.BlockStorageSnapshot
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class BlockStorageSnapshot
extends Object
Block storage snapshot
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockStorageSnapshot(UUID id, OffsetDateTime createdAt, BlockStorageSnapshot.StateEnum state) -
Method Summary
Modifier and TypeMethodDescriptionblockStorageVolume(BlockStorageVolumeRef blockStorageVolume) booleanReturn true if this block-storage-snapshot object is equal to o.Get blockStorageVolumeSnapshot creation dategetId()Snapshot IDGet labelsgetName()Snapshot namegetSize()Snapshot size minimum: 1getState()Snapshot stateOriginal Volume size minimum: 0inthashCode()putLabelsItem(String key, String labelsItem) voidsetBlockStorageVolume(BlockStorageVolumeRef blockStorageVolume) voidvoidvoidvoidsetVolumeSize(Long volumeSize) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.volumeSize(Long volumeSize)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_VOLUME_SIZE
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_BLOCK_STORAGE_VOLUME
- See Also:
-
-
Constructor Details
-
BlockStorageSnapshot
public BlockStorageSnapshot() -
BlockStorageSnapshot
public BlockStorageSnapshot(UUID id, OffsetDateTime createdAt, BlockStorageSnapshot.StateEnum state)
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
size
-
getSize
-
setSize
-
volumeSize
-
getVolumeSize
-
setVolumeSize
-
getCreatedAt
-
getState
-
labels
-
putLabelsItem
-
getLabels
-
setLabels
-
blockStorageVolume
-
getBlockStorageVolume
Get blockStorageVolume- Returns:
- blockStorageVolume
-
setBlockStorageVolume
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-