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, toStringpublic String getType()
public String getZone()
public ZoneId getZoneId()
public String getSelfLink()
ResourceIdgetSelfLink in class ResourceIdpublic static MachineTypeId of(String zone, String type)
public static MachineTypeId of(String project, String zone, String type)
Copyright © 2018 Google LLC. All rights reserved.