public class CreateCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable
CreateCacheParameterGroup operation
.
The CreateCacheParameterGroup operation creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
NOOP
Constructor and Description |
---|
CreateCacheParameterGroupRequest()
Default constructor for a new CreateCacheParameterGroupRequest object.
|
CreateCacheParameterGroupRequest(String cacheParameterGroupName,
String cacheParameterGroupFamily,
String description)
Constructs a new CreateCacheParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheParameterGroupFamily()
The name of the cache parameter group family 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.
|
int |
hashCode() |
void |
setCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCacheParameterGroupRequest |
withCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family 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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 the cache parameter group can be used with. Valid values
are: memcached1.4
| redis2.6
|
redis2.8
description
- A user-specified description for the cache
parameter group.public String getCacheParameterGroupName()
public void setCacheParameterGroupName(String cacheParameterGroupName)
cacheParameterGroupName
- A user-specified name for the cache parameter group.public CreateCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheParameterGroupName
- A user-specified name for the cache parameter group.public String getCacheParameterGroupFamily()
Valid values are: memcached1.4
|
redis2.6
| redis2.8
Valid values are: memcached1.4
|
redis2.6
| redis2.8
public void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
Valid values are: memcached1.4
|
redis2.6
| redis2.8
cacheParameterGroupFamily
- The name of the cache parameter group family the cache parameter group
can be used with. Valid values are: memcached1.4
|
redis2.6
| redis2.8
public CreateCacheParameterGroupRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
Valid values are: memcached1.4
|
redis2.6
| redis2.8
Returns a reference to this object so that method calls can be chained together.
cacheParameterGroupFamily
- The name of the cache parameter group family the cache parameter group
can be used with. Valid values are: memcached1.4
|
redis2.6
| redis2.8
public String getDescription()
public void setDescription(String description)
description
- A user-specified description for the cache parameter group.public CreateCacheParameterGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A user-specified description for the cache parameter group.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.