Interface StaleSecurityGroup.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<StaleSecurityGroup.Builder,StaleSecurityGroup>
,SdkBuilder<StaleSecurityGroup.Builder,StaleSecurityGroup>
,SdkPojo
- Enclosing class:
- StaleSecurityGroup
public static interface StaleSecurityGroup.Builder extends SdkPojo, CopyableBuilder<StaleSecurityGroup.Builder,StaleSecurityGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StaleSecurityGroup.Builder
description(String description)
The description of the security group.StaleSecurityGroup.Builder
groupId(String groupId)
The ID of the security group.StaleSecurityGroup.Builder
groupName(String groupName)
The name of the security group.StaleSecurityGroup.Builder
staleIpPermissions(Collection<StaleIpPermission> staleIpPermissions)
Information about the stale inbound rules in the security group.StaleSecurityGroup.Builder
staleIpPermissions(Consumer<StaleIpPermission.Builder>... staleIpPermissions)
Information about the stale inbound rules in the security group.StaleSecurityGroup.Builder
staleIpPermissions(StaleIpPermission... staleIpPermissions)
Information about the stale inbound rules in the security group.StaleSecurityGroup.Builder
staleIpPermissionsEgress(Collection<StaleIpPermission> staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.StaleSecurityGroup.Builder
staleIpPermissionsEgress(Consumer<StaleIpPermission.Builder>... staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.StaleSecurityGroup.Builder
staleIpPermissionsEgress(StaleIpPermission... staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.StaleSecurityGroup.Builder
vpcId(String vpcId)
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 Detail
-
description
StaleSecurityGroup.Builder description(String 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
StaleSecurityGroup.Builder groupId(String 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
StaleSecurityGroup.Builder groupName(String 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
StaleSecurityGroup.Builder staleIpPermissions(Collection<StaleIpPermission> 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(StaleIpPermission... 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 to#staleIpPermissions(List
.) - 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:
#staleIpPermissions(java.util.Collection
)
-
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
StaleSecurityGroup.Builder staleIpPermissionsEgress(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
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 to#staleIpPermissionsEgress(List
.) - 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:
#staleIpPermissionsEgress(java.util.Collection
)
-
vpcId
StaleSecurityGroup.Builder vpcId(String 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.
-
-