public static interface FirewallStatelessRule.Builder extends SdkPojo, CopyableBuilder<FirewallStatelessRule.Builder,FirewallStatelessRule>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFirewallStatelessRule.Builder ruleGroupArn(String ruleGroupArn)
The ARN of the stateless rule group.
ruleGroupArn - The ARN of the stateless rule group.FirewallStatelessRule.Builder sources(Collection<String> sources)
The source IP addresses, in CIDR notation.
sources - The source IP addresses, in CIDR notation.FirewallStatelessRule.Builder sources(String... sources)
The source IP addresses, in CIDR notation.
sources - The source IP addresses, in CIDR notation.FirewallStatelessRule.Builder destinations(Collection<String> destinations)
The destination IP addresses, in CIDR notation.
destinations - The destination IP addresses, in CIDR notation.FirewallStatelessRule.Builder destinations(String... destinations)
The destination IP addresses, in CIDR notation.
destinations - The destination IP addresses, in CIDR notation.FirewallStatelessRule.Builder sourcePorts(Collection<PortRange> sourcePorts)
The source ports.
sourcePorts - The source ports.FirewallStatelessRule.Builder sourcePorts(PortRange... sourcePorts)
The source ports.
sourcePorts - The source ports.FirewallStatelessRule.Builder sourcePorts(Consumer<PortRange.Builder>... sourcePorts)
The source ports.
This is a convenience method that creates an instance of thePortRange.Builder avoiding the need to create one manually
via PortRange.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #sourcePorts(List.
sourcePorts - a consumer that will call methods on
PortRange.Builder#sourcePorts(java.util.Collection) FirewallStatelessRule.Builder destinationPorts(Collection<PortRange> destinationPorts)
The destination ports.
destinationPorts - The destination ports.FirewallStatelessRule.Builder destinationPorts(PortRange... destinationPorts)
The destination ports.
destinationPorts - The destination ports.FirewallStatelessRule.Builder destinationPorts(Consumer<PortRange.Builder>... destinationPorts)
The destination ports.
This is a convenience method that creates an instance of thePortRange.Builder avoiding the need to create one manually
via PortRange.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #destinationPorts(List.
destinationPorts - a consumer that will call methods on
PortRange.Builder#destinationPorts(java.util.Collection) FirewallStatelessRule.Builder protocols(Collection<Integer> protocols)
The protocols.
protocols - The protocols.FirewallStatelessRule.Builder protocols(Integer... protocols)
The protocols.
protocols - The protocols.FirewallStatelessRule.Builder ruleAction(String ruleAction)
The rule action. The possible values are pass, drop, and
forward_to_site.
ruleAction - The rule action. The possible values are pass, drop, and
forward_to_site.FirewallStatelessRule.Builder priority(Integer priority)
The rule priority.
priority - The rule priority.Copyright © 2023. All rights reserved.