Class CreateClusterParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.CreateClusterParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateClusterParameterGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Tag... tags)
A list of tag instances.CreateClusterParameterGroupRequest
withTags(Collection<Tag> tags)
A list of tag instances.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setParameterGroupName
public void setParameterGroupName(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 AWS 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 AWS account.
This value is stored as a lower-case string.
-
getParameterGroupName
public String getParameterGroupName()
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:
- 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:
- 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. - 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:
- Returns a reference to this object so that method calls can be chained together.
-
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".
-
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".
-
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".
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the parameter group.
- Parameters:
description
- A description of the parameter group.
-
getDescription
public String getDescription()
A description of the parameter group.
- Returns:
- A description of the parameter group.
-
withDescription
public CreateClusterParameterGroupRequest withDescription(String 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.
-
setTags
public void setTags(Collection<Tag> tags)
A list of tag instances.
- Parameters:
tags
- A list of tag instances.
-
withTags
public CreateClusterParameterGroupRequest withTags(Tag... tags)
A list of tag instances.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- A list of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public CreateClusterParameterGroupRequest withTags(Collection<Tag> 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateClusterParameterGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-