public static class ForwardingRuleCreationOptions.Builder extends Object
Constructor and Description |
---|
ForwardingRuleCreationOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
ForwardingRuleCreationOptions |
build() |
ForwardingRuleCreationOptions.Builder |
description(String description)
An optional textual description of the TargetPool.
|
ForwardingRuleCreationOptions.Builder |
ipAddress(String ipAddress)
The external IP address that this forwarding rule is serving on behalf of
|
ForwardingRuleCreationOptions.Builder |
ipProtocol(ForwardingRule.IPProtocol ipProtocol)
The IP protocol to which this rule applies
|
ForwardingRuleCreationOptions.Builder |
portRange(String portRange)
If IPProtocol is TCP or UDP, packets addressed to ports in the specified range
will be forwarded to backend.
|
ForwardingRuleCreationOptions.Builder |
target(URI target)
The URL of the target resource to receive the matched traffic.
|
public ForwardingRuleCreationOptions.Builder()
public ForwardingRuleCreationOptions.Builder description(String description)
public ForwardingRuleCreationOptions.Builder ipAddress(String ipAddress)
public ForwardingRuleCreationOptions.Builder ipProtocol(ForwardingRule.IPProtocol ipProtocol)
public ForwardingRuleCreationOptions.Builder portRange(String portRange)
public ForwardingRuleCreationOptions.Builder target(URI target)
public ForwardingRuleCreationOptions build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.