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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityGroup.BuildergroupId(String groupId)The security group ID of the EC2 instance.SecurityGroup.BuildergroupName(String groupName)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 Detail
-
groupId
SecurityGroup.Builder groupId(String 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
SecurityGroup.Builder groupName(String 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.
-
-