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 Amazon Resource Name (ARN).

        Constraints:

        • Must specify a valid DB parameter group.

        • Must specify a valid DB parameter group identifier, for example my-db-param-group, or a valid ARN.

        Parameters:
        sourceDBParameterGroupIdentifier - The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

        Constraints:

        • Must specify a valid DB parameter group.

        • Must specify a valid DB parameter group identifier, for example my-db-param-group, or a valid ARN.

        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:

        • Cannot be null, empty, or blank.

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

        • First character must be a letter.

        • Cannot 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:

        • Cannot be null, empty, or blank.

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

        • First character must be a letter.

        • Cannot 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)

        The tags to be assigned to the copied DB parameter group.

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

        CopyDbParameterGroupRequest.Builder tags​(Tag... tags)

        The tags to be assigned to the copied DB parameter group.

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

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

        The tags to be assigned to the copied DB parameter 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)