org.jclouds.googlecomputeengine.domain
Class MachineType
java.lang.Object
org.jclouds.googlecomputeengine.domain.Resource
org.jclouds.googlecomputeengine.domain.MachineType
@Beta
public final class MachineType
- extends Resource
Represents a machine type used to host an instance.
- See Also:
| Nested classes/interfaces inherited from class org.jclouds.googlecomputeengine.domain.Resource |
Resource.Kind |
getGuestCpus
public int getGuestCpus()
- Returns:
- count of CPUs exposed to the instance.
getMemoryMb
public int getMemoryMb()
- Returns:
- physical memory assigned to the instance, defined in MB.
getScratchDisks
public List<MachineType.ScratchDisk> getScratchDisks()
- Returns:
- extended scratch disks assigned to the instance.
getMaximumPersistentDisks
public int getMaximumPersistentDisks()
- Returns:
- maximum persistent disks allowed.
getMaximumPersistentDisksSizeGb
public long getMaximumPersistentDisksSizeGb()
- Returns:
- maximum total persistent disks size (GB) allowed.
getZone
public String getZone()
- Returns:
- the zones that this machine type can run in.
getDeprecated
public com.google.common.base.Optional<Deprecated> getDeprecated()
- Returns:
- the deprecation information for this machine type
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Resource
string
protected com.google.common.base.Objects.ToStringHelper string()
-
- Overrides:
string in class Resource
toString
public String toString()
-
- Overrides:
toString in class Resource
builder
public static MachineType.Builder builder()
toBuilder
public MachineType.Builder toBuilder()
- Overrides:
toBuilder in class Resource
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.