Class CreateCacheParameterGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a CreateCacheParameterGroup action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateCacheParameterGroupRequest object.CreateCacheParameterGroupRequest
(String cacheParameterGroupName, String cacheParameterGroupFamily, String description) Constructs a new CreateCacheParameterGroupRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the cache parameter group family the cache parameter group can be used with.A user-specified name for the cache parameter group.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheParameterGroupFamily
(String cacheParameterGroupFamily) The name of the cache parameter group family the cache parameter group can be used with.withCacheParameterGroupName
(String cacheParameterGroupName) A user-specified name for the cache parameter group.withDescription
(String description) A user-specified description for the cache parameter group.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateCacheParameterGroupRequest
public CreateCacheParameterGroupRequest()Default constructor for CreateCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateCacheParameterGroupRequest
public CreateCacheParameterGroupRequest(String cacheParameterGroupName, String cacheParameterGroupFamily, String description) Constructs a new CreateCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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 Details
-
setCacheParameterGroupName
A user-specified name for the cache parameter group.
- Parameters:
cacheParameterGroupName
- A user-specified name for the cache parameter group.
-
getCacheParameterGroupName
A user-specified name for the cache parameter group.
- Returns:
- A user-specified name for the cache parameter group.
-
withCacheParameterGroupName
A user-specified name for the cache parameter group.
- Parameters:
cacheParameterGroupName
- A user-specified name for the cache parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheParameterGroupFamily
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
- Parameters:
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
-
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
- Returns:
- 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
-
withCacheParameterGroupFamily
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A user-specified description for the cache parameter group.
- Parameters:
description
- A user-specified description for the cache parameter group.
-
getDescription
A user-specified description for the cache parameter group.
- Returns:
- A user-specified description for the cache parameter group.
-
withDescription
A user-specified description for the cache parameter group.
- Parameters:
description
- A user-specified description for the cache parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-