@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
 Represents the input of a CreateCacheParameterGroup operation.
 
NOOP| Constructor and Description | 
|---|
| CreateCacheParameterGroupRequest()Default constructor for CreateCacheParameterGroupRequest object. | 
| CreateCacheParameterGroupRequest(String cacheParameterGroupName,
                                String cacheParameterGroupFamily,
                                String description)Constructs a new CreateCacheParameterGroupRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateCacheParameterGroupRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getCacheParameterGroupFamily()
 The name of the cache parameter group family that the cache parameter group can be used with. | 
| String | getCacheParameterGroupName()
 A user-specified name for the cache parameter group. | 
| String | getDescription()
 A user-specified description for the cache parameter group. | 
| List<Tag> | getTags()
 A list of tags to be added to this resource. | 
| int | hashCode() | 
| void | setCacheParameterGroupFamily(String cacheParameterGroupFamily)
 The name of the cache parameter group family that the cache parameter group can be used with. | 
| void | setCacheParameterGroupName(String cacheParameterGroupName)
 A user-specified name for the cache parameter group. | 
| void | setDescription(String description)
 A user-specified description for the cache parameter group. | 
| void | setTags(Collection<Tag> tags)
 A list of tags to be added to this resource. | 
| String | toString()Returns a string representation of this object. | 
| CreateCacheParameterGroupRequest | withCacheParameterGroupFamily(String cacheParameterGroupFamily)
 The name of the cache parameter group family that the cache parameter group can be used with. | 
| CreateCacheParameterGroupRequest | withCacheParameterGroupName(String cacheParameterGroupName)
 A user-specified name for the cache parameter group. | 
| CreateCacheParameterGroupRequest | withDescription(String description)
 A user-specified description for the cache parameter group. | 
| CreateCacheParameterGroupRequest | withTags(Collection<Tag> tags)
 A list of tags to be added to this resource. | 
| CreateCacheParameterGroupRequest | withTags(Tag... tags)
 A list of tags to be added to this resource. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateCacheParameterGroupRequest()
public CreateCacheParameterGroupRequest(String cacheParameterGroupName, String cacheParameterGroupFamily, String description)
cacheParameterGroupName - A user-specified name for the cache parameter group.cacheParameterGroupFamily - The name of the cache parameter group family that the cache parameter group can be used with.
        
        Valid values are: memcached1.4 | memcached1.5 | memcached1.6 |
        redis2.6 | redis2.8 | redis3.2 | redis4.0 |
        redis5.0 | redis6.x | redis7
description - A user-specified description for the cache parameter group.public void setCacheParameterGroupName(String cacheParameterGroupName)
A user-specified name for the cache parameter group.
cacheParameterGroupName - A user-specified name for the cache parameter group.public String getCacheParameterGroupName()
A user-specified name for the cache parameter group.
public CreateCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
A user-specified name for the cache parameter group.
cacheParameterGroupName - A user-specified name for the cache parameter group.public void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family that the cache parameter group can be used with.
 Valid values are: memcached1.4 | memcached1.5 | memcached1.6 |
 redis2.6 | redis2.8 | redis3.2 | redis4.0 |
 redis5.0 | redis6.x | redis7
 
cacheParameterGroupFamily - The name of the cache parameter group family that the cache parameter group can be used with.
        
        Valid values are: memcached1.4 | memcached1.5 | memcached1.6 |
        redis2.6 | redis2.8 | redis3.2 | redis4.0 |
        redis5.0 | redis6.x | redis7
public String getCacheParameterGroupFamily()
The name of the cache parameter group family that the cache parameter group can be used with.
 Valid values are: memcached1.4 | memcached1.5 | memcached1.6 |
 redis2.6 | redis2.8 | redis3.2 | redis4.0 |
 redis5.0 | redis6.x | redis7
 
         Valid values are: memcached1.4 | memcached1.5 | memcached1.6 |
         redis2.6 | redis2.8 | redis3.2 | redis4.0 |
         redis5.0 | redis6.x | redis7
public CreateCacheParameterGroupRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family that the cache parameter group can be used with.
 Valid values are: memcached1.4 | memcached1.5 | memcached1.6 |
 redis2.6 | redis2.8 | redis3.2 | redis4.0 |
 redis5.0 | redis6.x | redis7
 
cacheParameterGroupFamily - The name of the cache parameter group family that the cache parameter group can be used with.
        
        Valid values are: memcached1.4 | memcached1.5 | memcached1.6 |
        redis2.6 | redis2.8 | redis3.2 | redis4.0 |
        redis5.0 | redis6.x | redis7
public void setDescription(String description)
A user-specified description for the cache parameter group.
description - A user-specified description for the cache parameter group.public String getDescription()
A user-specified description for the cache parameter group.
public CreateCacheParameterGroupRequest withDescription(String description)
A user-specified description for the cache parameter group.
description - A user-specified description for the cache parameter group.public List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted.public CreateCacheParameterGroupRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
 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.
 
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted.public CreateCacheParameterGroupRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted.public String toString()
toString in class ObjectObject.toString()public CreateCacheParameterGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()