public static interface AnalysisAclRule.Builder extends SdkPojo, CopyableBuilder<AnalysisAclRule.Builder,AnalysisAclRule>
Modifier and Type | Method and Description |
---|---|
AnalysisAclRule.Builder |
cidr(String cidr)
The IPv4 address range, in CIDR notation.
|
AnalysisAclRule.Builder |
egress(Boolean egress)
Indicates whether the rule is an outbound rule.
|
default AnalysisAclRule.Builder |
portRange(Consumer<PortRange.Builder> portRange)
The range of ports.
|
AnalysisAclRule.Builder |
portRange(PortRange portRange)
The range of ports.
|
AnalysisAclRule.Builder |
protocol(String protocol)
The protocol.
|
AnalysisAclRule.Builder |
ruleAction(String ruleAction)
Indicates whether to allow or deny traffic that matches the rule.
|
AnalysisAclRule.Builder |
ruleNumber(Integer ruleNumber)
The rule number.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AnalysisAclRule.Builder cidr(String cidr)
The IPv4 address range, in CIDR notation.
cidr
- The IPv4 address range, in CIDR notation.AnalysisAclRule.Builder egress(Boolean egress)
Indicates whether the rule is an outbound rule.
egress
- Indicates whether the rule is an outbound rule.AnalysisAclRule.Builder portRange(PortRange portRange)
The range of ports.
portRange
- The range of ports.default AnalysisAclRule.Builder portRange(Consumer<PortRange.Builder> portRange)
The range of 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 portRange(PortRange)
.portRange
- a consumer that will call methods on PortRange.Builder
portRange(PortRange)
AnalysisAclRule.Builder protocol(String protocol)
The protocol.
protocol
- The protocol.AnalysisAclRule.Builder ruleAction(String ruleAction)
Indicates whether to allow or deny traffic that matches the rule.
ruleAction
- Indicates whether to allow or deny traffic that matches the rule.AnalysisAclRule.Builder ruleNumber(Integer ruleNumber)
The rule number.
ruleNumber
- The rule number.Copyright © 2022. All rights reserved.