Interface SecurityGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SecurityGroup.Builder,
,SecurityGroup> SdkBuilder<SecurityGroup.Builder,
,SecurityGroup> SdkPojo
- Enclosing class:
SecurityGroup
public static interface SecurityGroup.Builder
extends SdkPojo, CopyableBuilder<SecurityGroup.Builder,SecurityGroup>
-
Method Summary
Modifier and TypeMethodDescriptionThe security group ID of the EC2 instance.The security group name of the EC2 instance.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
-
groupId
The security group ID of the EC2 instance.
- Parameters:
groupId
- The security group ID of the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The security group name of the EC2 instance.
- Parameters:
groupName
- The security group name of the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-