Interface SecurityGroupRuleDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>,SdkBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>,SdkPojo
- Enclosing class:
- SecurityGroupRuleDescription
public static interface SecurityGroupRuleDescription.Builder extends SdkPojo, CopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityGroupRuleDescription.BuilderfromPort(Long fromPort)The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number.SecurityGroupRuleDescription.Builderipv4Range(String ipv4Range)The IPv4 ranges for the security group rule.SecurityGroupRuleDescription.Builderipv6Range(String ipv6Range)The IPv6 ranges for the security group rule.SecurityGroupRuleDescription.BuilderprefixListId(String prefixListId)The ID of the prefix list for the security group rule.SecurityGroupRuleDescription.Builderprotocol(String protocol)The IP protocol name (tcp,udp,icmp,icmpv6) or number.SecurityGroupRuleDescription.BuildertoPort(Long toPort)The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ipv4Range
SecurityGroupRuleDescription.Builder ipv4Range(String ipv4Range)
The IPv4 ranges for the security group rule.
- Parameters:
ipv4Range- The IPv4 ranges for the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6Range
SecurityGroupRuleDescription.Builder ipv6Range(String ipv6Range)
The IPv6 ranges for the security group rule.
- Parameters:
ipv6Range- The IPv6 ranges for the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListId
SecurityGroupRuleDescription.Builder prefixListId(String prefixListId)
The ID of the prefix list for the security group rule.
- Parameters:
prefixListId- The ID of the prefix list for the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
SecurityGroupRuleDescription.Builder protocol(String protocol)
The IP protocol name (
tcp,udp,icmp,icmpv6) or number.- Parameters:
protocol- The IP protocol name (tcp,udp,icmp,icmpv6) or number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromPort
SecurityGroupRuleDescription.Builder fromPort(Long fromPort)
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of
-1indicates all ICMP/ICMPv6 types.- Parameters:
fromPort- The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of-1indicates all ICMP/ICMPv6 types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
SecurityGroupRuleDescription.Builder toPort(Long toPort)
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of
-1indicates all ICMP/ICMPv6 codes.- Parameters:
toPort- The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of-1indicates all ICMP/ICMPv6 codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-