Interface NetworkAclEntry.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<NetworkAclEntry.Builder,,- NetworkAclEntry> - SdkBuilder<NetworkAclEntry.Builder,,- NetworkAclEntry> - SdkPojo
- Enclosing class:
- NetworkAclEntry
- 
Method SummaryModifier and TypeMethodDescriptionThe IPv4 network range to allow or deny, in CIDR notation.Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).default NetworkAclEntry.BuildericmpTypeCode(Consumer<IcmpTypeCode.Builder> icmpTypeCode) ICMP protocol: The ICMP type and code.icmpTypeCode(IcmpTypeCode icmpTypeCode) ICMP protocol: The ICMP type and code.ipv6CidrBlock(String ipv6CidrBlock) The IPv6 network range to allow or deny, in CIDR notation.default NetworkAclEntry.BuilderportRange(Consumer<PortRange.Builder> portRange) TCP or UDP protocols: The range of ports the rule applies to.TCP or UDP protocols: The range of ports the rule applies to.The protocol number.ruleAction(String ruleAction) Indicates whether to allow or deny the traffic that matches the rule.ruleAction(RuleAction ruleAction) Indicates whether to allow or deny the traffic that matches the rule.ruleNumber(Integer ruleNumber) The rule number for the entry.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
cidrBlockThe IPv4 network range to allow or deny, in CIDR notation. - Parameters:
- cidrBlock- The IPv4 network range to allow or deny, in CIDR notation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
egressIndicates whether the rule is an egress rule (applied to traffic leaving the subnet). - Parameters:
- egress- Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
icmpTypeCodeICMP protocol: The ICMP type and code. - Parameters:
- icmpTypeCode- ICMP protocol: The ICMP type and code.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
icmpTypeCodeICMP protocol: The ICMP type and code. This is a convenience method that creates an instance of theIcmpTypeCode.Builderavoiding the need to create one manually viaIcmpTypeCode.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toicmpTypeCode(IcmpTypeCode).- Parameters:
- icmpTypeCode- a consumer that will call methods on- IcmpTypeCode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ipv6CidrBlockThe IPv6 network range to allow or deny, in CIDR notation. - Parameters:
- ipv6CidrBlock- The IPv6 network range to allow or deny, in CIDR notation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
portRangeTCP or UDP protocols: The range of ports the rule applies to. - Parameters:
- portRange- TCP or UDP protocols: The range of ports the rule applies to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
portRangeTCP or UDP protocols: The range of ports the rule applies to. This is a convenience method that creates an instance of thePortRange.Builderavoiding the need to create one manually viaPortRange.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toportRange(PortRange).- Parameters:
- portRange- a consumer that will call methods on- PortRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
protocolThe protocol number. A value of "-1" means all protocols. - Parameters:
- protocol- The protocol number. A value of "-1" means all protocols.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ruleActionIndicates whether to allow or deny the traffic that matches the rule. - Parameters:
- ruleAction- Indicates whether to allow or deny the traffic that matches the rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ruleActionIndicates whether to allow or deny the traffic that matches the rule. - Parameters:
- ruleAction- Indicates whether to allow or deny the traffic that matches the rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ruleNumberThe rule number for the entry. ACL entries are processed in ascending order by rule number. - Parameters:
- ruleNumber- The rule number for the entry. ACL entries are processed in ascending order by rule number.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-