public final class DiskTypeId extends ResourceId
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
String |
selfLink()
Returns a fully qualified URL to the entity.
|
String |
type()
Returns the name of the disk type.
|
String |
zone()
Returns the name of the zone this disk type belongs to.
|
ZoneId |
zoneId()
Returns the identity of the zone this disk type belongs to.
|
project, toStringpublic String type()
public String zone()
public ZoneId zoneId()
public String selfLink()
ResourceIdselfLink in class ResourceIdpublic 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 © 2016 Google. All rights reserved.