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 Details

    • 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.