Interface StaleIpPermission.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StaleIpPermission.Builder,
,StaleIpPermission> SdkBuilder<StaleIpPermission.Builder,
,StaleIpPermission> SdkPojo
- Enclosing class:
StaleIpPermission
-
Method Summary
Modifier and TypeMethodDescriptionThe start of the port range for the TCP and UDP protocols, or an ICMP type number.ipProtocol
(String ipProtocol) The IP ranges.ipRanges
(Collection<String> ipRanges) The IP ranges.prefixListIds
(String... prefixListIds) The prefix list IDs.prefixListIds
(Collection<String> prefixListIds) The prefix list IDs.The end of the port range for the TCP and UDP protocols, or an ICMP type number.userIdGroupPairs
(Collection<UserIdGroupPair> userIdGroupPairs) The security group pairs.userIdGroupPairs
(Consumer<UserIdGroupPair.Builder>... userIdGroupPairs) The security group pairs.userIdGroupPairs
(UserIdGroupPair... userIdGroupPairs) The security group pairs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipProtocol
The IP protocol name (for
tcp
,udp
, andicmp
) or number (see Protocol Numbers).- Parameters:
ipProtocol
- The IP protocol name (fortcp
,udp
, andicmp
) or number (see Protocol Numbers).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
The IP ranges. Not applicable for stale security group rules.
- Parameters:
ipRanges
- The IP ranges. Not applicable for stale security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
The IP ranges. Not applicable for stale security group rules.
- Parameters:
ipRanges
- The IP ranges. Not applicable for stale security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListIds
The prefix list IDs. Not applicable for stale security group rules.
- Parameters:
prefixListIds
- The prefix list IDs. Not applicable for stale security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListIds
The prefix list IDs. Not applicable for stale security group rules.
- Parameters:
prefixListIds
- The prefix list IDs. Not applicable for stale security group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaUserIdGroupPair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserIdGroupPairs(List<UserIdGroupPair>)
.- Parameters:
userIdGroupPairs
- a consumer that will call methods onUserIdGroupPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-