public final class GlobalAddressId extends AddressId
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static GlobalAddressId |
of(String address)
Returns an address identity given the address name.
|
static GlobalAddressId |
of(String project,
String address)
Returns an address identity given project and address names.
|
String |
selfLink()
Returns a fully qualified URL to the entity.
|
com.google.cloud.compute.AddressId.Type |
type()
Returns the type of this address identity.
|
project, toStringpublic com.google.cloud.compute.AddressId.Type type()
AddressIdpublic String selfLink()
ResourceIdselfLink in class ResourceIdpublic static GlobalAddressId of(String address)
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
and all following characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.public static GlobalAddressId of(String project, String address)
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a
lowercase letter, and all following characters must be a dash, lowercase letter, or digit,
except the last character, which cannot be a dash.Copyright © 2016 Google. All rights reserved.