Interface CopyDbParameterGroupRequest.Builder

    • Method Detail

      • sourceDBParameterGroupIdentifier

        CopyDbParameterGroupRequest.Builder sourceDBParameterGroupIdentifier​(String sourceDBParameterGroupIdentifier)

        The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

        Constraints:

        • Must specify a valid DB parameter group.

        Parameters:
        sourceDBParameterGroupIdentifier - The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

        Constraints:

        • Must specify a valid DB parameter group.

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

        CopyDbParameterGroupRequest.Builder targetDBParameterGroupIdentifier​(String targetDBParameterGroupIdentifier)

        The identifier for the copied DB parameter group.

        Constraints:

        • Can't be null, empty, or blank

        • Must contain from 1 to 255 letters, numbers, or hyphens

        • First character must be a letter

        • Can't end with a hyphen or contain two consecutive hyphens

        Example: my-db-parameter-group

        Parameters:
        targetDBParameterGroupIdentifier - The identifier for the copied DB parameter group.

        Constraints:

        • Can't be null, empty, or blank

        • Must contain from 1 to 255 letters, numbers, or hyphens

        • First character must be a letter

        • Can't end with a hyphen or contain two consecutive hyphens

        Example: my-db-parameter-group

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

        CopyDbParameterGroupRequest.Builder targetDBParameterGroupDescription​(String targetDBParameterGroupDescription)

        A description for the copied DB parameter group.

        Parameters:
        targetDBParameterGroupDescription - A description for the copied DB parameter group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CopyDbParameterGroupRequest.Builder tags​(Collection<Tag> tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CopyDbParameterGroupRequest.Builder tags​(Tag... tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CopyDbParameterGroupRequest.Builder tags​(Consumer<Tag.Builder>... tags)
        Sets the value of the Tags property for this object. 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)