public final class MachineTypeId extends ResourceId
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSelfLink()
Returns a fully qualified URL to the entity.
|
String |
getType()
Returns the name of the machine type.
|
String |
getZone()
Returns the name of the zone this machine type belongs to.
|
ZoneId |
getZoneId()
Returns the identity of the zone this machine type belongs to.
|
int |
hashCode() |
static MachineTypeId |
of(String zone,
String type)
Returns a machine type identity given the zone and type names.
|
static MachineTypeId |
of(String project,
String zone,
String type)
Returns a machine type identity given project, zone and type names.
|
String |
selfLink()
Deprecated.
|
String |
type()
Deprecated.
|
String |
zone()
Deprecated.
|
ZoneId |
zoneId()
Deprecated.
|
getProject, project, toString
@Deprecated public String type()
public String getType()
@Deprecated public String zone()
public String getZone()
@Deprecated public ZoneId zoneId()
public ZoneId getZoneId()
@Deprecated public String selfLink()
ResourceId
selfLink
in class ResourceId
public String getSelfLink()
ResourceId
getSelfLink
in class ResourceId
public static MachineTypeId of(String zone, String type)
public static MachineTypeId of(String project, String zone, String type)
Copyright © 2017 Google. All rights reserved.