Class ForwardingRuleCreationOptions.Builder
java.lang.Object
org.jclouds.googlecomputeengine.options.ForwardingRuleCreationOptions.Builder
- Enclosing class:
ForwardingRuleCreationOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) An optional textual description of the TargetPool.The external IP address that this forwarding rule is serving on behalf ofipProtocol
(ForwardingRule.IPProtocol ipProtocol) The IP protocol to which this rule appliesIf IPProtocol is TCP or UDP, packets addressed to ports in the specified range will be forwarded to backend.The URL of the target resource to receive the matched traffic.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
An optional textual description of the TargetPool.- Returns:
- description, provided by the client.
-
ipAddress
The external IP address that this forwarding rule is serving on behalf of- Returns:
- ipAddress
-
ipProtocol
The IP protocol to which this rule applies- Returns:
- ipProtocol
-
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.- Returns:
- portRange
-
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.- Returns:
- target
-
build
-