@Generated(value="software.amazon.awssdk:codegen") public class CreateCacheParameterGroupRequest extends ElastiCacheRequest implements ToCopyableBuilder<CreateCacheParameterGroupRequest.Builder,CreateCacheParameterGroupRequest>
Represents the input of a CreateCacheParameterGroup operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateCacheParameterGroupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateCacheParameterGroupRequest.Builder |
builder() |
String |
cacheParameterGroupFamily()
The name of the cache parameter group family that the cache parameter group can be used with.
|
String |
cacheParameterGroupName()
A user-specified name for the cache parameter group.
|
String |
description()
A user-specified description for the cache 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() |
static Class<? extends CreateCacheParameterGroupRequest.Builder> |
serializableBuilderClass() |
CreateCacheParameterGroupRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfigcopypublic String cacheParameterGroupName()
A user-specified name for the cache parameter group.
public String cacheParameterGroupFamily()
The name of the cache parameter group family that the cache parameter group can be used with.
Valid values are: memcached1.4 | redis2.6 | redis2.8 |
redis3.2
Valid values are: memcached1.4 | redis2.6 | redis2.8 |
redis3.2
public String description()
A user-specified description for the cache parameter group.
public CreateCacheParameterGroupRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateCacheParameterGroupRequest.Builder,CreateCacheParameterGroupRequest>toBuilder in class ElastiCacheRequestpublic static CreateCacheParameterGroupRequest.Builder builder()
public static Class<? extends CreateCacheParameterGroupRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. 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 SdkRequestfieldName - 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.