com.amazonaws.services.elasticache.model
Class ResetCacheParameterGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.ResetCacheParameterGroupRequest
All Implemented Interfaces:
Serializable

public class ResetCacheParameterGroupRequest
extends AmazonWebServiceRequest
implements Serializable

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.

See Also:
AmazonElastiCache.resetCacheParameterGroup(ResetCacheParameterGroupRequest), Serialized Form

Constructor 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

ResetCacheParameterGroupRequest

public ResetCacheParameterGroupRequest()
Default constructor for a new ResetCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this 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

getCacheParameterGroupName

public String getCacheParameterGroupName()
The name of the cache parameter group to reset.

Returns:
The name of the cache parameter group to reset.

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.

withCacheParameterGroupName

public ResetCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheParameterGroupName - The name of the cache parameter group to reset.
Returns:
A reference to this updated 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


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


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

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

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


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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.