public static interface SecurityGroupRuleDescription.Builder extends SdkPojo, CopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>
Modifier and Type | Method and Description |
---|---|
SecurityGroupRuleDescription.Builder |
fromPort(Long fromPort)
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number.
|
SecurityGroupRuleDescription.Builder |
ipv4Range(String ipv4Range)
The IPv4 ranges for the security group rule.
|
SecurityGroupRuleDescription.Builder |
ipv6Range(String ipv6Range)
The IPv6 ranges for the security group rule.
|
SecurityGroupRuleDescription.Builder |
prefixListId(String prefixListId)
The ID of the prefix list for the security group rule.
|
SecurityGroupRuleDescription.Builder |
protocol(String protocol)
The IP protocol name (
tcp , udp , icmp , icmpv6 ) or number. |
SecurityGroupRuleDescription.Builder |
toPort(Long toPort)
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SecurityGroupRuleDescription.Builder ipv4Range(String ipv4Range)
The IPv4 ranges for the security group rule.
ipv4Range
- The IPv4 ranges for the security group rule.SecurityGroupRuleDescription.Builder ipv6Range(String ipv6Range)
The IPv6 ranges for the security group rule.
ipv6Range
- The IPv6 ranges for the security group rule.SecurityGroupRuleDescription.Builder prefixListId(String prefixListId)
The ID of the prefix list for the security group rule.
prefixListId
- The ID of the prefix list for the security group rule.SecurityGroupRuleDescription.Builder protocol(String protocol)
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number.
protocol
- The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or
number.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
-1
indicates all ICMP/ICMPv6 types.
fromPort
- The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of
-1
indicates all ICMP/ICMPv6 types.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 -1
indicates all ICMP/ICMPv6 codes.
toPort
- The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of
-1
indicates all ICMP/ICMPv6 codes.