public class MachineType extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getCpus()
Returns the number of virtual CPUs that are available to the instance.
|
Long |
getCreationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
DeprecationStatus<MachineTypeId> |
getDeprecationStatus()
Returns the deprecation status of the machine type.
|
String |
getDescription()
Returns an optional textual description of the machine type.
|
String |
getGeneratedId()
Returns the service-generated unique identifier for the machine type.
|
MachineTypeId |
getMachineTypeId()
Returns the machine type's identity.
|
Integer |
getMaximumPersistentDisks()
Returns the maximum number of persistent disks allowed by this instance type.
|
Long |
getMaximumPersistentDisksSizeGb()
Returns the maximum total persistent disks size allowed, defined in GB.
|
Integer |
getMemoryMb()
Returns the amount of physical memory available to the instance, defined in MB.
|
List<Integer> |
getScratchDisksSizeGb()
Returns the size of all extended scratch disks assigned to the instance, defined in GB.
|
int |
hashCode() |
String |
toString() |
public MachineTypeId getMachineTypeId()
public String getGeneratedId()
public Long getCreationTimestamp()
public String getDescription()
public Integer getCpus()
public Integer getMemoryMb()
public List<Integer> getScratchDisksSizeGb()
public Integer getMaximumPersistentDisks()
public Long getMaximumPersistentDisksSizeGb()
public DeprecationStatus<MachineTypeId> getDeprecationStatus()
DeprecationStatus.getStatus()
is
either DeprecationStatus.Status.DELETED
or DeprecationStatus.Status.OBSOLETE
the machine type should not be used. Returns null
if the machine type is not
deprecated.Copyright © 2019 Google LLC. All rights reserved.