Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class CreateClusterParameterGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.CreateClusterParameterGroupRequest
All Implemented Interfaces:
Serializable

public class CreateClusterParameterGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateClusterParameterGroup operation.

Creates an Amazon Redshift parameter group.

Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster.

Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster. For more information about managing parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Management Guide .

See Also:
AmazonRedshift.createClusterParameterGroup(CreateClusterParameterGroupRequest), Serialized Form

Constructor Summary
CreateClusterParameterGroupRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          A description of the parameter group.
 String getParameterGroupFamily()
          The Amazon Redshift engine version to which the cluster parameter group applies.
 String getParameterGroupName()
          The name of the cluster parameter group.
 int hashCode()
           
 void setDescription(String description)
          A description of the parameter group.
 void setParameterGroupFamily(String parameterGroupFamily)
          The Amazon Redshift engine version to which the cluster parameter group applies.
 void setParameterGroupName(String parameterGroupName)
          The name of the cluster parameter group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateClusterParameterGroupRequest withDescription(String description)
          A description of the parameter group.
 CreateClusterParameterGroupRequest withParameterGroupFamily(String parameterGroupFamily)
          The Amazon Redshift engine version to which the cluster parameter group applies.
 CreateClusterParameterGroupRequest withParameterGroupName(String parameterGroupName)
          The name of the cluster parameter group.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateClusterParameterGroupRequest

public CreateClusterParameterGroupRequest()
Method Detail

getParameterGroupName

public String getParameterGroupName()
The name of the cluster parameter group.

Constraints:

This value is stored as a lower-case string.

Returns:
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 AWS account.
This value is stored as a lower-case string.

setParameterGroupName

public void setParameterGroupName(String parameterGroupName)
The name of the cluster parameter group.

Constraints:

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 AWS account.
This value is stored as a lower-case string.

withParameterGroupName

public CreateClusterParameterGroupRequest withParameterGroupName(String parameterGroupName)
The name of the cluster parameter group.

Constraints:

This value is stored as a lower-case string.

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

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 AWS account.
This value is stored as a lower-case string.
Returns:
A reference to this updated object so that method calls can be chained together.

getParameterGroupFamily

public String getParameterGroupFamily()
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 AWS 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:
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 AWS 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".


setParameterGroupFamily

public void setParameterGroupFamily(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 AWS 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 AWS 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".


withParameterGroupFamily

public CreateClusterParameterGroupRequest withParameterGroupFamily(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 AWS 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 a reference to this object so that method calls can be chained together.

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 AWS 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:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
A description of the parameter group.

Returns:
A description of the parameter group.

setDescription

public void setDescription(String description)
A description of the parameter group.

Parameters:
description - A description of the parameter group.

withDescription

public CreateClusterParameterGroupRequest withDescription(String description)
A description of the parameter group.

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

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

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.