public class CreateCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateCacheParameterGroup action.
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() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 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 the cache parameter group can be used with.
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 String getCacheParameterGroupFamily()
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
Valid values are: memcached1.4
|
redis2.6
| redis2.8
public CreateCacheParameterGroupRequest withCacheParameterGroupFamily(String 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
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 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 String toString()
toString
in class Object
Object.toString()
public CreateCacheParameterGroupRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.