|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.CreateCacheParameterGroupRequest
public class CreateCacheParameterGroupRequest
Container for the parameters to the 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.
AmazonElastiCache.createCacheParameterGroup(CreateCacheParameterGroupRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateCacheParameterGroupRequest()
Default constructor for a new CreateCacheParameterGroupRequest object. |
|
CreateCacheParameterGroupRequest(String cacheParameterGroupName,
String cacheParameterGroupFamily,
String description)
Constructs a new CreateCacheParameterGroupRequest object. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |