public class CreateClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide .
NOOP
Constructor and Description |
---|
CreateClusterParameterGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterParameterGroupRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
List<Tag> |
getTags()
A list of tag instances.
|
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.
|
void |
setTags(Collection<Tag> tags)
A list of tag instances.
|
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.
|
CreateClusterParameterGroupRequest |
withTags(Collection<Tag> tags)
A list of tag instances.
|
CreateClusterParameterGroupRequest |
withTags(Tag... tags)
A list of tag instances.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getParameterGroupName()
Constraints:
Constraints:
public void setParameterGroupName(String parameterGroupName)
Constraints:
parameterGroupName
- The name of the cluster parameter group. Constraints:
public CreateClusterParameterGroupRequest withParameterGroupName(String parameterGroupName)
Constraints:
Returns a reference to this object so that method calls can be chained together.
parameterGroupName
- The name of the cluster parameter group. Constraints:
public String getParameterGroupFamily()
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".
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".
public void setParameterGroupFamily(String parameterGroupFamily)
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".
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".
public CreateClusterParameterGroupRequest withParameterGroupFamily(String parameterGroupFamily)
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.
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".
public String getDescription()
public void setDescription(String description)
description
- A description of the parameter group.public CreateClusterParameterGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description of the parameter group.public void setTags(Collection<Tag> tags)
tags
- A list of tag instances.public CreateClusterParameterGroupRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tag instances.public CreateClusterParameterGroupRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tag instances.public String toString()
toString
in class Object
Object.toString()
public CreateClusterParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.