@Generated(value="software.amazon.awssdk:codegen") public final class CreateClusterParameterGroupRequest extends RedshiftRequest implements ToCopyableBuilder<CreateClusterParameterGroupRequest.Builder,CreateClusterParameterGroupRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateClusterParameterGroupRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateClusterParameterGroupRequest.Builder |
builder() |
String |
description()
A description of the parameter group.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
parameterGroupFamily()
The Amazon Redshift engine version to which the cluster parameter group applies.
|
String |
parameterGroupName()
The name of the cluster parameter group.
|
static Class<? extends CreateClusterParameterGroupRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A list of tag instances.
|
CreateClusterParameterGroupRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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.
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.
public 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".
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 description()
A description of the parameter group.
public List<Tag> tags()
A list of tag instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateClusterParameterGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateClusterParameterGroupRequest.Builder,CreateClusterParameterGroupRequest>
toBuilder
in class RedshiftRequest
public static CreateClusterParameterGroupRequest.Builder builder()
public static Class<? extends CreateClusterParameterGroupRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.