public final class ZoneOperationId extends OperationId
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSelfLink()
Returns a fully qualified URL to the entity.
|
com.google.cloud.compute.deprecated.OperationId.Type |
getType()
Returns the type of this operation identity.
|
String |
getZone()
Returns the name of the zone this operation belongs to.
|
ZoneId |
getZoneId()
Returns the identity of the zone this address belongs to.
|
int |
hashCode() |
static ZoneOperationId |
of(String zone,
String operation)
Returns a zone operation identity given the zone and operation names.
|
static ZoneOperationId |
of(String project,
String zone,
String operation)
Returns a zone operation identity given project, zone and operation names.
|
static ZoneOperationId |
of(ZoneId zoneId,
String operation)
Returns a zone operation identity given the zone identity and the operation name.
|
getOperationgetProject, toStringpublic com.google.cloud.compute.deprecated.OperationId.Type getType()
OperationIdgetType in class OperationIdpublic String getZone()
public ZoneId getZoneId()
public String getSelfLink()
ResourceIdgetSelfLink in class ResourceIdpublic static ZoneOperationId of(ZoneId zoneId, String operation)
public static ZoneOperationId of(String zone, String operation)
public static ZoneOperationId of(String project, String zone, String operation)
Copyright © 2019 Google LLC. All rights reserved.