public static interface NetworkACLEntry.Builder extends SdkPojo, CopyableBuilder<NetworkACLEntry.Builder,NetworkACLEntry>
| Modifier and Type | Method and Description |
|---|---|
NetworkACLEntry.Builder |
cidrBlock(String cidrBlock)
The IPv4 network range to allow or deny, in CIDR notation.
|
default NetworkACLEntry.Builder |
icmpTypeCode(Consumer<IcmpTypeCode.Builder> icmpTypeCode)
Defines the ICMP protocol that consists of the ICMP type and code.
|
NetworkACLEntry.Builder |
icmpTypeCode(IcmpTypeCode icmpTypeCode)
Defines the ICMP protocol that consists of the ICMP type and code.
|
default NetworkACLEntry.Builder |
portRange(Consumer<PortRange.Builder> portRange)
The range of ports the rule applies to.
|
NetworkACLEntry.Builder |
portRange(PortRange portRange)
The range of ports the rule applies to.
|
NetworkACLEntry.Builder |
protocol(String protocol)
The protocol number.
|
NetworkACLEntry.Builder |
ruleAction(RuleAction ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
|
NetworkACLEntry.Builder |
ruleAction(String ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
|
NetworkACLEntry.Builder |
ruleNumber(Integer ruleNumber)
The rule number for the entry.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkACLEntry.Builder ruleNumber(Integer ruleNumber)
The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.
ruleNumber - The rule number for the entry. For example 100. All the network ACL entries are processed in
ascending order by rule number.NetworkACLEntry.Builder protocol(String protocol)
The protocol number. A value of -1 means all the protocols.
protocol - The protocol number. A value of -1 means all the protocols.NetworkACLEntry.Builder ruleAction(String ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
ruleAction - Indicates whether to allow or deny the traffic that matches the rule.RuleAction,
RuleActionNetworkACLEntry.Builder ruleAction(RuleAction ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
ruleAction - Indicates whether to allow or deny the traffic that matches the rule.RuleAction,
RuleActionNetworkACLEntry.Builder portRange(PortRange portRange)
The range of ports the rule applies to.
portRange - The range of ports the rule applies to.default NetworkACLEntry.Builder portRange(Consumer<PortRange.Builder> portRange)
The range of ports the rule applies to.
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.BuilderportRange(PortRange)NetworkACLEntry.Builder icmpTypeCode(IcmpTypeCode icmpTypeCode)
Defines the ICMP protocol that consists of the ICMP type and code.
icmpTypeCode - Defines the ICMP protocol that consists of the ICMP type and code.default NetworkACLEntry.Builder icmpTypeCode(Consumer<IcmpTypeCode.Builder> icmpTypeCode)
Defines the ICMP protocol that consists of the ICMP type and code.
This is a convenience method that creates an instance of theIcmpTypeCode.Builder avoiding the need
to create one manually via IcmpTypeCode.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to icmpTypeCode(IcmpTypeCode).
icmpTypeCode - a consumer that will call methods on IcmpTypeCode.BuildericmpTypeCode(IcmpTypeCode)NetworkACLEntry.Builder cidrBlock(String cidrBlock)
The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify
the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we
modify it to 100.68.0.0/18.
cidrBlock - The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We
modify the specified CIDR block to its canonical form. For example, if you specify
100.68.0.18/18, we modify it to 100.68.0.0/18.Copyright © 2023. All rights reserved.