public final class GlobalForwardingRuleId extends ForwardingRuleId
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static GlobalForwardingRuleId |
of(String rule)
Returns a forwarding rule identity given the rule name.
|
static GlobalForwardingRuleId |
of(String project,
String rule)
Returns a forwarding rule identity given the project rule names.
|
String |
selfLink()
Returns a fully qualified URL to the entity.
|
com.google.cloud.compute.ForwardingRuleId.Type |
type()
Returns the type of this forwarding rule identity.
|
ruleproject, toStringpublic com.google.cloud.compute.ForwardingRuleId.Type type()
ForwardingRuleIdtype in class ForwardingRuleIdpublic String selfLink()
ResourceIdselfLink in class ResourceIdpublic static GlobalForwardingRuleId of(String rule)
[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 GlobalForwardingRuleId of(String project, String rule)
[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.