public class MachineType extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
Integer |
cpus()
Returns the number of virtual CPUs that are available to the instance.
|
Long |
creationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
DeprecationStatus<MachineTypeId> |
deprecationStatus()
Returns the deprecation status of the machine type.
|
String |
description()
Returns an optional textual description of the machine type.
|
boolean |
equals(Object obj) |
String |
generatedId()
Returns the service-generated unique identifier for the machine type.
|
int |
hashCode() |
MachineTypeId |
machineTypeId()
Returns the machine type's identity.
|
Integer |
maximumPersistentDisks()
Returns the maximum number of persistent disks allowed by this instance type.
|
Long |
maximumPersistentDisksSizeGb()
Returns the maximum total persistent disks size allowed, defined in GB.
|
Integer |
memoryMb()
Returns the amount of physical memory available to the instance, defined in MB.
|
List<Integer> |
scratchDisksSizeGb()
Returns the size of all extended scratch disks assigned to the instance, defined in GB.
|
String |
toString() |
public MachineTypeId machineTypeId()
public String generatedId()
public Long creationTimestamp()
public String description()
public Integer cpus()
public Integer memoryMb()
public List<Integer> scratchDisksSizeGb()
public Integer maximumPersistentDisks()
public Long maximumPersistentDisksSizeGb()
public DeprecationStatus<MachineTypeId> deprecationStatus()
DeprecationStatus.status() 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 © 2016 Google. All rights reserved.