Class ForwardingRule
- java.lang.Object
-
- org.jclouds.googlecomputeengine.domain.ForwardingRule
-
public abstract class ForwardingRule extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForwardingRule.IPProtocol
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ForwardingRule
create(String id, URI selfLink, String name, String description, Date creationTimestamp, URI region, String ipAddress, ForwardingRule.IPProtocol ipProtocol, String portRange, URI target)
abstract Date
creationTimestamp()
abstract String
description()
abstract String
id()
abstract String
ipAddress()
The external IP address that this forwarding rule is serving on behalf of.abstract ForwardingRule.IPProtocol
ipProtocol()
abstract String
name()
abstract String
portRange()
If IPProtocol is TCP or UDP, packets addressed to ports in the specified range will be forwarded to backend.abstract URI
region()
null when representing a GlobalForwardingRulesabstract URI
selfLink()
abstract URI
target()
The URL of the target resource to receive the matched traffic.
-
-
-
Method Detail
-
id
public abstract String id()
-
selfLink
public abstract URI selfLink()
-
name
public abstract String name()
-
creationTimestamp
public abstract Date creationTimestamp()
-
ipAddress
@Nullable public abstract String ipAddress()
The external IP address that this forwarding rule is serving on behalf of. If this is a reserved address, the address must live in the same region as the forwarding rule. By default, this field is empty and an ephemeral IP is assigned to the ForwardingRule.
-
ipProtocol
public abstract ForwardingRule.IPProtocol ipProtocol()
-
portRange
@Nullable public abstract String portRange()
If IPProtocol is TCP or UDP, packets addressed to ports in the specified range will be forwarded to backend. By default, this is empty and all ports are allowed.
-
target
public abstract URI target()
The URL of the target resource to receive the matched traffic. The target resource must live in the same region as this forwarding rule.
-
-