public static interface FirewallStatefulRule.Builder extends SdkPojo, CopyableBuilder<FirewallStatefulRule.Builder,FirewallStatefulRule>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFirewallStatefulRule.Builder ruleGroupArn(String ruleGroupArn)
The ARN of the stateful rule group.
ruleGroupArn - The ARN of the stateful rule group.FirewallStatefulRule.Builder sources(Collection<String> sources)
The source IP addresses, in CIDR notation.
sources - The source IP addresses, in CIDR notation.FirewallStatefulRule.Builder sources(String... sources)
The source IP addresses, in CIDR notation.
sources - The source IP addresses, in CIDR notation.FirewallStatefulRule.Builder destinations(Collection<String> destinations)
The destination IP addresses, in CIDR notation.
destinations - The destination IP addresses, in CIDR notation.FirewallStatefulRule.Builder destinations(String... destinations)
The destination IP addresses, in CIDR notation.
destinations - The destination IP addresses, in CIDR notation.FirewallStatefulRule.Builder sourcePorts(Collection<PortRange> sourcePorts)
The source ports.
sourcePorts - The source ports.FirewallStatefulRule.Builder sourcePorts(PortRange... sourcePorts)
The source ports.
sourcePorts - The source ports.FirewallStatefulRule.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) FirewallStatefulRule.Builder destinationPorts(Collection<PortRange> destinationPorts)
The destination ports.
destinationPorts - The destination ports.FirewallStatefulRule.Builder destinationPorts(PortRange... destinationPorts)
The destination ports.
destinationPorts - The destination ports.FirewallStatefulRule.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) FirewallStatefulRule.Builder protocol(String protocol)
The protocol.
protocol - The protocol.FirewallStatefulRule.Builder ruleAction(String ruleAction)
The rule action. The possible values are pass, drop, and alert.
ruleAction - The rule action. The possible values are pass, drop, and alert.FirewallStatefulRule.Builder direction(String direction)
The direction. The possible values are FORWARD and ANY.
direction - The direction. The possible values are FORWARD and ANY.Copyright © 2023. All rights reserved.