public final class RegionId extends ResourceId
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getRegion()
Returns the name of the region.
|
String |
getSelfLink()
Returns a fully qualified URL to the entity.
|
int |
hashCode() |
static RegionId |
of(String region)
Returns a new region identity given region name.
|
static RegionId |
of(String project,
String region)
Returns a new region identity given project and region names.
|
getProject, toString
public String getRegion()
public String getSelfLink()
ResourceId
getSelfLink
in class ResourceId
public static RegionId of(String project, String region)
Copyright © 2019 Google LLC. All rights reserved.