public final class DiskTypeId 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 disk type.
|
String |
getZone()
Returns the name of the zone this disk type belongs to.
|
ZoneId |
getZoneId()
Returns the identity of the zone this disk type belongs to.
|
int |
hashCode() |
static DiskTypeId |
of(String zone,
String type)
Returns a disk type identity given the zone and disk type names.
|
static DiskTypeId |
of(String project,
String zone,
String type)
Returns a disk type identity given project disk, zone and disk type names.
|
static DiskTypeId |
of(ZoneId zoneId,
String type)
Returns a disk type identity given the zone identity and the disk type name.
|
getProject, toString
public String getType()
public String getZone()
public ZoneId getZoneId()
public String getSelfLink()
ResourceId
getSelfLink
in class ResourceId
public static DiskTypeId of(ZoneId zoneId, String type)
public static DiskTypeId of(String zone, String type)
public static DiskTypeId of(String project, String zone, String type)
Copyright © 2019 Google LLC. All rights reserved.