Interface SecurityGroupForVpc.Builder

    • Method Detail

      • 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

        SecurityGroupForVpc.Builder ownerId​(String 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

        SecurityGroupForVpc.Builder groupId​(String 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

        SecurityGroupForVpc.Builder tags​(Collection<Tag> 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

        SecurityGroupForVpc.Builder tags​(Tag... 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

        SecurityGroupForVpc.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)
      • 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.