Class ResetCacheParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.ResetCacheParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ResetCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ResetCacheParameterGroup action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ResetCacheParameterGroupRequest()
Default constructor for ResetCacheParameterGroupRequest object.ResetCacheParameterGroupRequest(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues)
Constructs a new ResetCacheParameterGroupRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResetCacheParameterGroupRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCacheParameterGroupName()
The name of the cache parameter group to reset.List<ParameterNameValue>
getParameterNameValues()
An array of parameter names to be reset.Boolean
getResetAllParameters()
If true, all parameters in the cache parameter group will be reset to default values.int
hashCode()
Boolean
isResetAllParameters()
If true, all parameters in the cache parameter group will be reset to default values.void
setCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.void
setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to be reset.void
setResetAllParameters(Boolean resetAllParameters)
If true, all parameters in the cache parameter group will be reset to default values.String
toString()
Returns a string representation of this object; useful for testing and debugging.ResetCacheParameterGroupRequest
withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.ResetCacheParameterGroupRequest
withParameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names to be reset.ResetCacheParameterGroupRequest
withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to be reset.ResetCacheParameterGroupRequest
withResetAllParameters(Boolean resetAllParameters)
If true, all parameters in the cache parameter group will be reset to default values.-
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 Detail
-
ResetCacheParameterGroupRequest
public ResetCacheParameterGroupRequest()
Default constructor for ResetCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ResetCacheParameterGroupRequest
public ResetCacheParameterGroupRequest(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues)
Constructs a new ResetCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
cacheParameterGroupName
- The name of the cache parameter group to reset.parameterNameValues
- An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
-
-
Method Detail
-
setCacheParameterGroupName
public void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.
- Parameters:
cacheParameterGroupName
- The name of the cache parameter group to reset.
-
getCacheParameterGroupName
public String getCacheParameterGroupName()
The name of the cache parameter group to reset.
- Returns:
- The name of the cache parameter group to reset.
-
withCacheParameterGroupName
public ResetCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.
- Parameters:
cacheParameterGroupName
- The name of the cache parameter group to reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResetAllParameters
public void setResetAllParameters(Boolean resetAllParameters)
If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.
Valid values:
true
|false
- Parameters:
resetAllParameters
- If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.Valid values:
true
|false
-
getResetAllParameters
public Boolean getResetAllParameters()
If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.
Valid values:
true
|false
- Returns:
- If true, all parameters in the cache parameter group will
be reset to default values. If false, no such action
occurs.
Valid values:
true
|false
-
withResetAllParameters
public ResetCacheParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.
Valid values:
true
|false
- Parameters:
resetAllParameters
- If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.Valid values:
true
|false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isResetAllParameters
public Boolean isResetAllParameters()
If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.
Valid values:
true
|false
- Returns:
- If true, all parameters in the cache parameter group will
be reset to default values. If false, no such action
occurs.
Valid values:
true
|false
-
getParameterNameValues
public List<ParameterNameValue> getParameterNameValues()
An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
- Returns:
- An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
-
setParameterNameValues
public void setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
- Parameters:
parameterNameValues
- An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
-
withParameterNameValues
public ResetCacheParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
NOTE: This method appends the values to the existing list (if any). Use
setParameterNameValues(java.util.Collection)
orwithParameterNameValues(java.util.Collection)
if you want to override the existing values.- Parameters:
parameterNameValues
- An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameterNameValues
public ResetCacheParameterGroupRequest withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
- Parameters:
parameterNameValues
- An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ResetCacheParameterGroupRequest 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:
Object.clone()
-
-