Interface CreateClusterParameterGroupRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateClusterParameterGroupRequest.Builder,CreateClusterParameterGroupRequest>, RedshiftRequest.Builder, SdkBuilder<CreateClusterParameterGroupRequest.Builder,CreateClusterParameterGroupRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateClusterParameterGroupRequest

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

    • parameterGroupName

      CreateClusterParameterGroupRequest.Builder parameterGroupName(String parameterGroupName)

      The name of the cluster parameter group.

      Constraints:

      • Must be 1 to 255 alphanumeric characters or hyphens

      • First character must be a letter.

      • Cannot end with a hyphen or contain two consecutive hyphens.

      • Must be unique withing your Amazon Web Services account.

      This value is stored as a lower-case string.

      Parameters:
      parameterGroupName - The name of the cluster parameter group.

      Constraints:

      • Must be 1 to 255 alphanumeric characters or hyphens

      • First character must be a letter.

      • Cannot end with a hyphen or contain two consecutive hyphens.

      • Must be unique withing your Amazon Web Services account.

      This value is stored as a lower-case string.

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

      CreateClusterParameterGroupRequest.Builder parameterGroupFamily(String parameterGroupFamily)

      The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.

      To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".

      Parameters:
      parameterGroupFamily - The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.

      To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".

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

      A description of the parameter group.

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

      A list of tag instances.

      Parameters:
      tags - A list of tag instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tag instances.

      Parameters:
      tags - A list of tag instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tag instances.

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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.