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.
|
getProject, toString
public String getType()
public String getZone()
public ZoneId getZoneId()
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 © 2019 Google LLC. All rights reserved.