public class DiskType extends Object implements Serializable
pd-ssd
or pd-standard
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getCreationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
Long |
getDefaultDiskSizeGb()
Returns the service-defined default disk size in GB.
|
DeprecationStatus<DiskTypeId> |
getDeprecationStatus()
Returns the deprecation status of the disk type.
|
String |
getDescription()
Returns a textual description of the disk type.
|
DiskTypeId |
getDiskTypeId()
Returns the disk type's identity.
|
String |
getGeneratedId()
Returns the service-generated unique identifier for the disk type.
|
String |
getValidDiskSize()
Returns an optional textual description of the valid disk size, such as "10GB-10TB".
|
int |
hashCode() |
String |
toString() |
public Long getCreationTimestamp()
public DiskTypeId getDiskTypeId()
public String getGeneratedId()
public String getDescription()
public String getValidDiskSize()
public Long getDefaultDiskSizeGb()
public DeprecationStatus<DiskTypeId> getDeprecationStatus()
DeprecationStatus.getStatus()
is
either DeprecationStatus.Status.DELETED
or DeprecationStatus.Status.OBSOLETE
the disk type should not be used. Returns null
if the disk type is not deprecated.Copyright © 2019 Google LLC. All rights reserved.