Interface SecurityGroupForVpc.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>, SdkBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>, SdkPojo
Enclosing class:
SecurityGroupForVpc

public static interface SecurityGroupForVpc.Builder extends SdkPojo, CopyableBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>
  • Method Details

    • description

      SecurityGroupForVpc.Builder description(String description)

      The security group's description.

      Parameters:
      description - The security group's description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupName

      SecurityGroupForVpc.Builder groupName(String groupName)

      The security group name.

      Parameters:
      groupName - The security group name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerId

      The security group owner ID.

      Parameters:
      ownerId - The security group owner ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupId

      The security group ID.

      Parameters:
      groupId - The security group ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The security group tags.

      Parameters:
      tags - The security group tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The security group tags.

      Parameters:
      tags - The security group tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The security group tags.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • primaryVpcId

      SecurityGroupForVpc.Builder primaryVpcId(String primaryVpcId)

      The VPC ID in which the security group was created.

      Parameters:
      primaryVpcId - The VPC ID in which the security group was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.