Interface StaleSecurityGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StaleSecurityGroup.Builder,
,StaleSecurityGroup> SdkBuilder<StaleSecurityGroup.Builder,
,StaleSecurityGroup> SdkPojo
- Enclosing class:
StaleSecurityGroup
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the security group.The ID of the security group.The name of the security group.staleIpPermissions
(Collection<StaleIpPermission> staleIpPermissions) Information about the stale inbound rules in the security group.staleIpPermissions
(Consumer<StaleIpPermission.Builder>... staleIpPermissions) Information about the stale inbound rules in the security group.staleIpPermissions
(StaleIpPermission... staleIpPermissions) Information about the stale inbound rules in the security group.staleIpPermissionsEgress
(Collection<StaleIpPermission> staleIpPermissionsEgress) Information about the stale outbound rules in the security group.staleIpPermissionsEgress
(Consumer<StaleIpPermission.Builder>... staleIpPermissionsEgress) Information about the stale outbound rules in the security group.staleIpPermissionsEgress
(StaleIpPermission... staleIpPermissionsEgress) Information about the stale outbound rules in the security group.The ID of the VPC for the security group.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
-
description
The description of the security group.
- Parameters:
description
- The description of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
The ID of the security group.
- Parameters:
groupId
- The ID of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The name of the security group.
- Parameters:
groupName
- The name of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staleIpPermissions
Information about the stale inbound rules in the security group.
- Parameters:
staleIpPermissions
- Information about the stale inbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staleIpPermissions
Information about the stale inbound rules in the security group.
- Parameters:
staleIpPermissions
- Information about the stale inbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staleIpPermissions
StaleSecurityGroup.Builder staleIpPermissions(Consumer<StaleIpPermission.Builder>... staleIpPermissions) Information about the stale inbound rules in the security group.
This is a convenience method that creates an instance of theStaleIpPermission.Builder
avoiding the need to create one manually viaStaleIpPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostaleIpPermissions(List<StaleIpPermission>)
.- Parameters:
staleIpPermissions
- a consumer that will call methods onStaleIpPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
staleIpPermissionsEgress
StaleSecurityGroup.Builder staleIpPermissionsEgress(Collection<StaleIpPermission> staleIpPermissionsEgress) Information about the stale outbound rules in the security group.
- Parameters:
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staleIpPermissionsEgress
Information about the stale outbound rules in the security group.
- Parameters:
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staleIpPermissionsEgress
StaleSecurityGroup.Builder staleIpPermissionsEgress(Consumer<StaleIpPermission.Builder>... staleIpPermissionsEgress) Information about the stale outbound rules in the security group.
This is a convenience method that creates an instance of theStaleIpPermission.Builder
avoiding the need to create one manually viaStaleIpPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostaleIpPermissionsEgress(List<StaleIpPermission>)
.- Parameters:
staleIpPermissionsEgress
- a consumer that will call methods onStaleIpPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcId
The ID of the VPC for the security group.
- Parameters:
vpcId
- The ID of the VPC for the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-