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)
If the protocol is TCP or UDP, this is the start of the port range.
|
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)
If the protocol is TCP or UDP, this is the end of the port range.
|
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)
If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the type number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
fromPort - If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6,
this is the type number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6
types, you must specify all ICMP/ICMPv6 codes.SecurityGroupRuleRequest.Builder toPort(Integer toPort)
If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
toPort - If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6,
this is the code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types,
you must specify all ICMP/ICMPv6 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.