public class ResetCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ResetCacheParameterGroup action.
NOOP
Constructor and Description |
---|
ResetCacheParameterGroupRequest()
Default constructor for 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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, 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 void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.
cacheParameterGroupName
- The name of the cache parameter group to reset.public String getCacheParameterGroupName()
The name of the cache parameter group to reset.
public ResetCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.
cacheParameterGroupName
- The name of the cache parameter group to reset.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
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()
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
Valid values: true
| false
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
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 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
Valid values: true
| false
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.
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.
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)
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)
or
withParameterNameValues(java.util.Collection)
if you want to
override the existing values.
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)
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.
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.