public static interface StaleIpPermission.Builder extends SdkPojo, CopyableBuilder<StaleIpPermission.Builder,StaleIpPermission>
Modifier and Type | Method and Description |
---|---|
StaleIpPermission.Builder |
fromPort(Integer fromPort)
The start of the port range for the TCP and UDP protocols, or an ICMP type number.
|
StaleIpPermission.Builder |
ipProtocol(String ipProtocol)
|
StaleIpPermission.Builder |
ipRanges(Collection<String> ipRanges)
The IP ranges.
|
StaleIpPermission.Builder |
ipRanges(String... ipRanges)
The IP ranges.
|
StaleIpPermission.Builder |
prefixListIds(Collection<String> prefixListIds)
The prefix list IDs.
|
StaleIpPermission.Builder |
prefixListIds(String... prefixListIds)
The prefix list IDs.
|
StaleIpPermission.Builder |
toPort(Integer toPort)
The end of the port range for the TCP and UDP protocols, or an ICMP type number.
|
StaleIpPermission.Builder |
userIdGroupPairs(Collection<UserIdGroupPair> userIdGroupPairs)
The security group pairs.
|
StaleIpPermission.Builder |
userIdGroupPairs(Consumer<UserIdGroupPair.Builder>... userIdGroupPairs)
The security group pairs.
|
StaleIpPermission.Builder |
userIdGroupPairs(UserIdGroupPair... userIdGroupPairs)
The security group pairs.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
StaleIpPermission.Builder fromPort(Integer fromPort)
The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.
fromPort
- The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1
indicates all ICMP types.StaleIpPermission.Builder ipProtocol(String ipProtocol)
The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).
ipProtocol
- The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).StaleIpPermission.Builder ipRanges(Collection<String> ipRanges)
The IP ranges. Not applicable for stale security group rules.
ipRanges
- The IP ranges. Not applicable for stale security group rules.StaleIpPermission.Builder ipRanges(String... ipRanges)
The IP ranges. Not applicable for stale security group rules.
ipRanges
- The IP ranges. Not applicable for stale security group rules.StaleIpPermission.Builder prefixListIds(Collection<String> prefixListIds)
The prefix list IDs. Not applicable for stale security group rules.
prefixListIds
- The prefix list IDs. Not applicable for stale security group rules.StaleIpPermission.Builder prefixListIds(String... prefixListIds)
The prefix list IDs. Not applicable for stale security group rules.
prefixListIds
- The prefix list IDs. Not applicable for stale security group rules.StaleIpPermission.Builder toPort(Integer toPort)
The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1
indicates all ICMP types.
toPort
- The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of
-1
indicates all ICMP types.StaleIpPermission.Builder userIdGroupPairs(Collection<UserIdGroupPair> userIdGroupPairs)
The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.
userIdGroupPairs
- The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and
status of the VPC peering connection.StaleIpPermission.Builder userIdGroupPairs(UserIdGroupPair... userIdGroupPairs)
The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.
userIdGroupPairs
- The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and
status of the VPC peering connection.StaleIpPermission.Builder userIdGroupPairs(Consumer<UserIdGroupPair.Builder>... userIdGroupPairs)
The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.
This is a convenience method that creates an instance of theUserIdGroupPair.Builder
avoiding the need to create one
manually via UserIdGroupPair.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #userIdGroupPairs(List
.
userIdGroupPairs
- a consumer that will call methods on
UserIdGroupPair.Builder
#userIdGroupPairs(java.util.Collection)
Copyright © 2023. All rights reserved.