public class CreateCacheParameterGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a CreateCacheParameterGroup action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheParameterGroupFamily
The name of the cache parameter group family the cache parameter group
can be used with.
|
private java.lang.String |
cacheParameterGroupName
A user-specified name for the cache parameter group.
|
private java.lang.String |
description
A user-specified description for the cache parameter group.
|
NOOP
Constructor and Description |
---|
CreateCacheParameterGroupRequest()
Default constructor for CreateCacheParameterGroupRequest object.
|
CreateCacheParameterGroupRequest(java.lang.String cacheParameterGroupName,
java.lang.String cacheParameterGroupFamily,
java.lang.String description)
Constructs a new CreateCacheParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateCacheParameterGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheParameterGroupFamily()
The name of the cache parameter group family the cache parameter group
can be used with.
|
java.lang.String |
getCacheParameterGroupName()
A user-specified name for the cache parameter group.
|
java.lang.String |
getDescription()
A user-specified description for the cache parameter group.
|
int |
hashCode() |
void |
setCacheParameterGroupFamily(java.lang.String cacheParameterGroupFamily)
The name of the cache parameter group family the cache parameter group
can be used with.
|
void |
setCacheParameterGroupName(java.lang.String cacheParameterGroupName)
A user-specified name for the cache parameter group.
|
void |
setDescription(java.lang.String description)
A user-specified description for the cache parameter group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCacheParameterGroupRequest |
withCacheParameterGroupFamily(java.lang.String cacheParameterGroupFamily)
The name of the cache parameter group family the cache parameter group
can be used with.
|
CreateCacheParameterGroupRequest |
withCacheParameterGroupName(java.lang.String cacheParameterGroupName)
A user-specified name for the cache parameter group.
|
CreateCacheParameterGroupRequest |
withDescription(java.lang.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
private java.lang.String cacheParameterGroupName
A user-specified name for the cache parameter group.
private java.lang.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
private java.lang.String description
A user-specified description for the cache parameter group.
public CreateCacheParameterGroupRequest()
public CreateCacheParameterGroupRequest(java.lang.String cacheParameterGroupName, java.lang.String cacheParameterGroupFamily, java.lang.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(java.lang.String cacheParameterGroupName)
A user-specified name for the cache parameter group.
cacheParameterGroupName
- A user-specified name for the cache parameter group.public java.lang.String getCacheParameterGroupName()
A user-specified name for the cache parameter group.
public CreateCacheParameterGroupRequest withCacheParameterGroupName(java.lang.String cacheParameterGroupName)
A user-specified name for the cache parameter group.
cacheParameterGroupName
- A user-specified name for the cache parameter group.public void setCacheParameterGroupFamily(java.lang.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 java.lang.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(java.lang.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(java.lang.String description)
A user-specified description for the cache parameter group.
description
- A user-specified description for the cache parameter group.public java.lang.String getDescription()
A user-specified description for the cache parameter group.
public CreateCacheParameterGroupRequest withDescription(java.lang.String description)
A user-specified description for the cache parameter group.
description
- A user-specified description for the cache parameter group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateCacheParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()