public class DiskType extends Object implements Serializable
pd-ssd or pd-standard.| Modifier and Type | Method and Description |
|---|---|
Long |
creationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
Long |
defaultDiskSizeGb()
Returns the service-defined default disk size in GB.
|
DeprecationStatus<DiskTypeId> |
deprecationStatus()
Returns the deprecation status of the disk type.
|
String |
description()
Returns a textual description of the disk type.
|
DiskTypeId |
diskTypeId()
Returns the disk type's identity.
|
boolean |
equals(Object obj) |
String |
generatedId()
Returns the service-generated unique identifier for the disk type.
|
int |
hashCode() |
String |
toString() |
String |
validDiskSize()
Returns an optional textual description of the valid disk size, such as "10GB-10TB".
|
public Long creationTimestamp()
public DiskTypeId diskTypeId()
public String generatedId()
public String description()
public String validDiskSize()
public Long defaultDiskSizeGb()
public DeprecationStatus<DiskTypeId> deprecationStatus()
DeprecationStatus.status() 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 © 2016 Google. All rights reserved.