Package cloud.dnation.hetznerclient
Class VolumeDetail
java.lang.Object
cloud.dnation.hetznerclient.IdentifiableResource
cloud.dnation.hetznerclient.VolumeDetail
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-09T14:14:52.146496965Z[Etc/UTC]")
public class VolumeDetail
extends IdentifiableResource
VolumeDetail
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class cloud.dnation.hetznerclient.IdentifiableResource
SERIALIZED_NAME_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFilesystem of the Volume if formatted on creation, null if not formatted on creationUser-defined labels (key-value pairs)Device path on the file system for the VolumeGet locationgetName()Name of the Resource.Object identifier/unique keygetSize()Size in GB of the VolumeCurrent status of the VolumeinthashCode()linuxDevice(String linuxDevice) location(LocationDetail location) putLabelsItem(String key, String labelsItem) voidvoidvoidsetLinuxDevice(String linuxDevice) voidsetLocation(LocationDetail location) voidvoidvoidvoidtoString()Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_FORMAT
- See Also:
-
SERIALIZED_NAME_SERVER
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_LINUX_DEVICE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_LOCATION
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
-
Constructor Details
-
VolumeDetail
public VolumeDetail()
-
-
Method Details
-
name
-
getName
Name of the Resource. Must be unique per Project.- Returns:
- name
-
setName
-
format
-
getFormat
Filesystem of the Volume if formatted on creation, null if not formatted on creation- Returns:
- format
-
setFormat
-
server
-
getServer
Object identifier/unique key- Returns:
- server
-
setServer
-
size
-
getSize
Size in GB of the Volume- Returns:
- size
-
setSize
-
linuxDevice
-
getLinuxDevice
Device path on the file system for the Volume- Returns:
- linuxDevice
-
setLinuxDevice
-
status
-
getStatus
Current status of the Volume- Returns:
- status
-
setStatus
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
labels
-
putLabelsItem
-
getLabels
User-defined labels (key-value pairs)- Returns:
- labels
-
setLabels
-
equals
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableResource
-
toString
- Overrides:
toStringin classIdentifiableResource
-