public class ResetCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ResetCacheParameterGroup operation
.
The ResetCacheParameterGroup action modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.
NOOP
Constructor and Description |
---|
ResetCacheParameterGroupRequest()
Default constructor for a new ResetCacheParameterGroupRequest object.
|
ResetCacheParameterGroupRequest(String cacheParameterGroupName,
List<ParameterNameValue> parameterNameValues)
Constructs a new ResetCacheParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
ResetCacheParameterGroupRequest |
clone() |
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(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to be reset.
|
ResetCacheParameterGroupRequest |
withParameterNameValues(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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ResetCacheParameterGroupRequest()
public ResetCacheParameterGroupRequest(String cacheParameterGroupName, List<ParameterNameValue> parameterNameValues)
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.public String getCacheParameterGroupName()
public void setCacheParameterGroupName(String cacheParameterGroupName)
cacheParameterGroupName
- The name of the cache parameter group to reset.public ResetCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheParameterGroupName
- The name of the cache parameter group to reset.public Boolean isResetAllParameters()
Valid values: true
| false
Valid values: true
| false
public void setResetAllParameters(Boolean resetAllParameters)
Valid values: true
| false
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
public ResetCacheParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
Valid values: true
| false
Returns a reference to this object so that method calls can be chained together.
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
public Boolean getResetAllParameters()
Valid values: true
| false
Valid values: true
| false
public List<ParameterNameValue> getParameterNameValues()
public void setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
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.public ResetCacheParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues)
NOTE: This method appends the values to the existing list (if
any). Use setParameterNameValues(java.util.Collection)
or
withParameterNameValues(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
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.public ResetCacheParameterGroupRequest withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
public ResetCacheParameterGroupRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.