public static interface SecurityGroupRuleRequest.Builder extends SdkPojo, CopyableBuilder<SecurityGroupRuleRequest.Builder,SecurityGroupRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
SecurityGroupRuleRequest.Builder |
cidrIpv4(String cidrIpv4)
The IPv4 CIDR range.
|
SecurityGroupRuleRequest.Builder |
cidrIpv6(String cidrIpv6)
The IPv6 CIDR range.
|
SecurityGroupRuleRequest.Builder |
description(String description)
The description of the security group rule.
|
SecurityGroupRuleRequest.Builder |
fromPort(Integer fromPort)
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
|
SecurityGroupRuleRequest.Builder |
ipProtocol(String ipProtocol)
|
SecurityGroupRuleRequest.Builder |
prefixListId(String prefixListId)
The ID of the prefix list.
|
SecurityGroupRuleRequest.Builder |
referencedGroupId(String referencedGroupId)
The ID of the security group that is referenced in the security group rule.
|
SecurityGroupRuleRequest.Builder |
toPort(Integer toPort)
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSecurityGroupRuleRequest.Builder ipProtocol(String ipProtocol)
The IP protocol name (tcp, udp, icmp, icmpv6) or number
(see Protocol Numbers).
Use -1 to specify all protocols.
ipProtocol - The IP protocol name (tcp, udp, icmp, icmpv6) or
number (see Protocol
Numbers).
Use -1 to specify all protocols.
SecurityGroupRuleRequest.Builder fromPort(Integer fromPort)
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
fromPort - The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates
all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.SecurityGroupRuleRequest.Builder toPort(Integer toPort)
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1
indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.
toPort - The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of
-1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must
specify all codes.SecurityGroupRuleRequest.Builder cidrIpv4(String cidrIpv4)
The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix length.
cidrIpv4 - The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix length.SecurityGroupRuleRequest.Builder cidrIpv6(String cidrIpv6)
The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix length.
cidrIpv6 - The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix length.SecurityGroupRuleRequest.Builder prefixListId(String prefixListId)
The ID of the prefix list.
prefixListId - The ID of the prefix list.SecurityGroupRuleRequest.Builder referencedGroupId(String referencedGroupId)
The ID of the security group that is referenced in the security group rule.
referencedGroupId - The ID of the security group that is referenced in the security group rule.SecurityGroupRuleRequest.Builder description(String description)
The description of the security group rule.
description - The description of the security group rule.Copyright © 2023. All rights reserved.