Interface EC2SecurityGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EC2SecurityGroup.Builder,,EC2SecurityGroup> SdkBuilder<EC2SecurityGroup.Builder,,EC2SecurityGroup> SdkPojo
- Enclosing class:
EC2SecurityGroup
@Mutable
@NotThreadSafe
public static interface EC2SecurityGroup.Builder
extends SdkPojo, CopyableBuilder<EC2SecurityGroup.Builder,EC2SecurityGroup>
-
Method Summary
Modifier and TypeMethodDescriptionec2SecurityGroupId(String ec2SecurityGroupId) Specifies the id of the EC2 security group.ec2SecurityGroupName(String ec2SecurityGroupName) Specifies the name of the EC2 security group.ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in theEC2SecurityGroupNamefield.Provides the status of the EC2 security group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
- Parameters:
status- Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupName
Specifies the name of the EC2 security group.
- Parameters:
ec2SecurityGroupName- Specifies the name of the EC2 security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupId
Specifies the id of the EC2 security group.
- Parameters:
ec2SecurityGroupId- Specifies the id of the EC2 security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupOwnerId
Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the
EC2SecurityGroupNamefield.- Parameters:
ec2SecurityGroupOwnerId- Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in theEC2SecurityGroupNamefield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-