public static interface AwsEc2NetworkAclEntry.Builder extends SdkPojo, CopyableBuilder<AwsEc2NetworkAclEntry.Builder,AwsEc2NetworkAclEntry>
| Modifier and Type | Method and Description |
|---|---|
AwsEc2NetworkAclEntry.Builder |
cidrBlock(String cidrBlock)
The IPV4 network range for which to deny or allow access.
|
AwsEc2NetworkAclEntry.Builder |
egress(Boolean egress)
Whether the rule is an egress rule.
|
default AwsEc2NetworkAclEntry.Builder |
icmpTypeCode(Consumer<IcmpTypeCode.Builder> icmpTypeCode)
The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
|
AwsEc2NetworkAclEntry.Builder |
icmpTypeCode(IcmpTypeCode icmpTypeCode)
The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
|
AwsEc2NetworkAclEntry.Builder |
ipv6CidrBlock(String ipv6CidrBlock)
The IPV6 network range for which to deny or allow access.
|
default AwsEc2NetworkAclEntry.Builder |
portRange(Consumer<PortRangeFromTo.Builder> portRange)
For TCP or UDP protocols, the range of ports that the rule applies to.
|
AwsEc2NetworkAclEntry.Builder |
portRange(PortRangeFromTo portRange)
For TCP or UDP protocols, the range of ports that the rule applies to.
|
AwsEc2NetworkAclEntry.Builder |
protocol(String protocol)
The protocol that the rule applies to.
|
AwsEc2NetworkAclEntry.Builder |
ruleAction(String ruleAction)
Whether the rule is used to allow access or deny access.
|
AwsEc2NetworkAclEntry.Builder |
ruleNumber(Integer ruleNumber)
The rule number.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2NetworkAclEntry.Builder cidrBlock(String cidrBlock)
The IPV4 network range for which to deny or allow access.
cidrBlock - The IPV4 network range for which to deny or allow access.AwsEc2NetworkAclEntry.Builder egress(Boolean egress)
Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.
egress - Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the
subnet.AwsEc2NetworkAclEntry.Builder icmpTypeCode(IcmpTypeCode icmpTypeCode)
The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
icmpTypeCode - The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.default AwsEc2NetworkAclEntry.Builder icmpTypeCode(Consumer<IcmpTypeCode.Builder> icmpTypeCode)
The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
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)AwsEc2NetworkAclEntry.Builder ipv6CidrBlock(String ipv6CidrBlock)
The IPV6 network range for which to deny or allow access.
ipv6CidrBlock - The IPV6 network range for which to deny or allow access.AwsEc2NetworkAclEntry.Builder portRange(PortRangeFromTo portRange)
For TCP or UDP protocols, the range of ports that the rule applies to.
portRange - For TCP or UDP protocols, the range of ports that the rule applies to.default AwsEc2NetworkAclEntry.Builder portRange(Consumer<PortRangeFromTo.Builder> portRange)
For TCP or UDP protocols, the range of ports that the rule applies to.
This is a convenience method that creates an instance of thePortRangeFromTo.Builder avoiding the
need to create one manually via PortRangeFromTo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to portRange(PortRangeFromTo).
portRange - a consumer that will call methods on PortRangeFromTo.BuilderportRange(PortRangeFromTo)AwsEc2NetworkAclEntry.Builder protocol(String protocol)
The protocol that the rule applies to. To deny or allow access to all protocols, use the value
-1.
protocol - The protocol that the rule applies to. To deny or allow access to all protocols, use the value
-1.AwsEc2NetworkAclEntry.Builder ruleAction(String ruleAction)
Whether the rule is used to allow access or deny access.
ruleAction - Whether the rule is used to allow access or deny access.AwsEc2NetworkAclEntry.Builder ruleNumber(Integer ruleNumber)
The rule number. The rules are processed in order by their number.
ruleNumber - The rule number. The rules are processed in order by their number.Copyright © 2023. All rights reserved.