|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.ResetCacheParameterGroupRequest
public class ResetCacheParameterGroupRequest
Container for the parameters to the ResetCacheParameterGroup operation
.
The ResetCacheParameterGroup operation 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.
AmazonElastiCache.resetCacheParameterGroup(ResetCacheParameterGroupRequest)
,
Serialized FormConstructor Summary | |
---|---|
ResetCacheParameterGroupRequest()
Default constructor for a new ResetCacheParameterGroupRequest object. |
|
ResetCacheParameterGroupRequest(String cacheParameterGroupName,
List<ParameterNameValue> parameterNameValues)
Constructs a new ResetCacheParameterGroupRequest object. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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)
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |