CopyableBuilder<NetworkAclEntry.Builder,NetworkAclEntry>
, SdkBuilder<NetworkAclEntry.Builder,NetworkAclEntry>
public static interface NetworkAclEntry.Builder extends CopyableBuilder<NetworkAclEntry.Builder,NetworkAclEntry>
Modifier and Type | Method | Description |
---|---|---|
NetworkAclEntry.Builder |
cidrBlock(String cidrBlock) |
The IPv4 network range to allow or deny, in CIDR notation.
|
NetworkAclEntry.Builder |
egress(Boolean egress) |
Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).
|
NetworkAclEntry.Builder |
icmpTypeCode(IcmpTypeCode icmpTypeCode) |
ICMP protocol: The ICMP type and code.
|
NetworkAclEntry.Builder |
ipv6CidrBlock(String ipv6CidrBlock) |
The IPv6 network range to allow or deny, in CIDR notation.
|
NetworkAclEntry.Builder |
portRange(PortRange portRange) |
TCP or UDP protocols: The range of ports the rule applies to.
|
NetworkAclEntry.Builder |
protocol(String protocol) |
The protocol.
|
NetworkAclEntry.Builder |
ruleAction(String ruleAction) |
Indicates whether to allow or deny the traffic that matches the rule.
|
NetworkAclEntry.Builder |
ruleAction(RuleAction ruleAction) |
Indicates whether to allow or deny the traffic that matches the rule.
|
NetworkAclEntry.Builder |
ruleNumber(Integer ruleNumber) |
The rule number for the entry.
|
copy
apply, build
NetworkAclEntry.Builder cidrBlock(String cidrBlock)
The IPv4 network range to allow or deny, in CIDR notation.
cidrBlock
- The IPv4 network range to allow or deny, in CIDR notation.NetworkAclEntry.Builder egress(Boolean egress)
Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).
egress
- Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).NetworkAclEntry.Builder icmpTypeCode(IcmpTypeCode icmpTypeCode)
ICMP protocol: The ICMP type and code.
icmpTypeCode
- ICMP protocol: The ICMP type and code.NetworkAclEntry.Builder ipv6CidrBlock(String ipv6CidrBlock)
The IPv6 network range to allow or deny, in CIDR notation.
ipv6CidrBlock
- The IPv6 network range to allow or deny, in CIDR notation.NetworkAclEntry.Builder portRange(PortRange portRange)
TCP or UDP protocols: The range of ports the rule applies to.
portRange
- TCP or UDP protocols: The range of ports the rule applies to.NetworkAclEntry.Builder protocol(String protocol)
The protocol. A value of -1
means all protocols.
protocol
- The protocol. A value of -1
means all 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
NetworkAclEntry.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
NetworkAclEntry.Builder ruleNumber(Integer ruleNumber)
The rule number for the entry. ACL entries are processed in ascending order by rule number.
ruleNumber
- The rule number for the entry. ACL entries are processed in ascending order by rule number.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.