public static interface AwsEc2SecurityGroupIpPermission.Builder extends SdkPojo, CopyableBuilder<AwsEc2SecurityGroupIpPermission.Builder,AwsEc2SecurityGroupIpPermission>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2SecurityGroupIpPermission.Builder ipProtocol(String ipProtocol)
The IP protocol name (tcp, udp, icmp, icmpv6) or number.
[VPC only] Use -1 to specify all protocols.
When authorizing security group rules, specifying -1 or a protocol number other than tcp,
udp, icmp, or icmpv6 allows traffic on all ports, regardless of any
port range you specify.
For tcp, udp, and icmp, you must specify a port range.
For icmpv6, the port range is optional. If you omit the port range, traffic for all types and
codes is allowed.
ipProtocol - The IP protocol name (tcp, udp, icmp, icmpv6) or
number.
[VPC only] Use -1 to specify all protocols.
When authorizing security group rules, specifying -1 or a protocol number other than tcp,
udp, icmp, or icmpv6 allows traffic on all ports, regardless of
any port range you specify.
For tcp, udp, and icmp, you must specify a port range.
For icmpv6, the port range is optional. If you omit the port range, traffic for all types
and codes is allowed.
AwsEc2SecurityGroupIpPermission.Builder fromPort(Integer 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. If you specify all ICMP/ICMPv6 types, you must specify all codes.
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. If you specify all ICMP/ICMPv6 types, you must specify all codes.
AwsEc2SecurityGroupIpPermission.Builder toPort(Integer 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. If you specify all ICMP/ICMPv6 types, you must specify all 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. If you specify all ICMP/ICMPv6 types, you must specify all codes.
AwsEc2SecurityGroupIpPermission.Builder userIdGroupPairs(Collection<AwsEc2SecurityGroupUserIdGroupPair> userIdGroupPairs)
The security group and AWS account ID pairs.
userIdGroupPairs - The security group and AWS account ID pairs.AwsEc2SecurityGroupIpPermission.Builder userIdGroupPairs(AwsEc2SecurityGroupUserIdGroupPair... userIdGroupPairs)
The security group and AWS account ID pairs.
userIdGroupPairs - The security group and AWS account ID pairs.AwsEc2SecurityGroupIpPermission.Builder userIdGroupPairs(Consumer<AwsEc2SecurityGroupUserIdGroupPair.Builder>... userIdGroupPairs)
The security group and AWS account ID pairs.
This is a convenience that creates an instance of the.Builder avoiding the need to create one manually via #builder() .
When the Consumer completes, List.Builder#build() is
called immediately and its result is passed to #userIdGroupPairs(List) .userIdGroupPairs - a consumer that will call methods on List.Builder #userIdGroupPairs(List) AwsEc2SecurityGroupIpPermission.Builder ipRanges(Collection<AwsEc2SecurityGroupIpRange> ipRanges)
The IPv4 ranges.
ipRanges - The IPv4 ranges.AwsEc2SecurityGroupIpPermission.Builder ipRanges(AwsEc2SecurityGroupIpRange... ipRanges)
The IPv4 ranges.
ipRanges - The IPv4 ranges.AwsEc2SecurityGroupIpPermission.Builder ipRanges(Consumer<AwsEc2SecurityGroupIpRange.Builder>... ipRanges)
The IPv4 ranges.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #ipRanges(List) .ipRanges - a consumer that will call methods on List.Builder #ipRanges(List) AwsEc2SecurityGroupIpPermission.Builder ipv6Ranges(Collection<AwsEc2SecurityGroupIpv6Range> ipv6Ranges)
The IPv6 ranges.
ipv6Ranges - The IPv6 ranges.AwsEc2SecurityGroupIpPermission.Builder ipv6Ranges(AwsEc2SecurityGroupIpv6Range... ipv6Ranges)
The IPv6 ranges.
ipv6Ranges - The IPv6 ranges.AwsEc2SecurityGroupIpPermission.Builder ipv6Ranges(Consumer<AwsEc2SecurityGroupIpv6Range.Builder>... ipv6Ranges)
The IPv6 ranges.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #ipv6Ranges(List) .ipv6Ranges - a consumer that will call methods on List.Builder #ipv6Ranges(List) AwsEc2SecurityGroupIpPermission.Builder prefixListIds(Collection<AwsEc2SecurityGroupPrefixListId> prefixListIds)
[VPC only] The prefix list IDs for an AWS service. With outbound rules, this is the AWS service to access through a VPC endpoint from instances associated with the security group.
prefixListIds - [VPC only] The prefix list IDs for an AWS service. With outbound rules, this is the AWS service to
access through a VPC endpoint from instances associated with the security group.AwsEc2SecurityGroupIpPermission.Builder prefixListIds(AwsEc2SecurityGroupPrefixListId... prefixListIds)
[VPC only] The prefix list IDs for an AWS service. With outbound rules, this is the AWS service to access through a VPC endpoint from instances associated with the security group.
prefixListIds - [VPC only] The prefix list IDs for an AWS service. With outbound rules, this is the AWS service to
access through a VPC endpoint from instances associated with the security group.AwsEc2SecurityGroupIpPermission.Builder prefixListIds(Consumer<AwsEc2SecurityGroupPrefixListId.Builder>... prefixListIds)
[VPC only] The prefix list IDs for an AWS service. With outbound rules, this is the AWS service to access through a VPC endpoint from instances associated with the security group.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #prefixListIds(List) .prefixListIds - a consumer that will call methods on List.Builder #prefixListIds(List) Copyright © 2021. All rights reserved.