Interface CreateDbSubnetGroupRequest.Builder

    • Method Detail

      • dbSubnetGroupName

        CreateDbSubnetGroupRequest.Builder dbSubnetGroupName​(String dbSubnetGroupName)

        The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Parameters:
        dbSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dbSubnetGroupDescription

        CreateDbSubnetGroupRequest.Builder dbSubnetGroupDescription​(String dbSubnetGroupDescription)

        The description for the DB subnet group.

        Parameters:
        dbSubnetGroupDescription - The description for the DB subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateDbSubnetGroupRequest.Builder subnetIds​(Collection<String> subnetIds)

        The EC2 Subnet IDs for the DB subnet group.

        Parameters:
        subnetIds - The EC2 Subnet IDs for the DB subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateDbSubnetGroupRequest.Builder subnetIds​(String... subnetIds)

        The EC2 Subnet IDs for the DB subnet group.

        Parameters:
        subnetIds - The EC2 Subnet IDs for the DB subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDbSubnetGroupRequest.Builder tags​(Collection<Tag> tags)

        The tags to be assigned to the new DB subnet group.

        Parameters:
        tags - The tags to be assigned to the new DB subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDbSubnetGroupRequest.Builder tags​(Tag... tags)

        The tags to be assigned to the new DB subnet group.

        Parameters:
        tags - The tags to be assigned to the new DB subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDbSubnetGroupRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags to be assigned to the new DB subnet group.

        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)