Did this page help you?

   Yes   No   Tell us about it...

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.

Modifies the parameters of a CacheParameterGroup to the engine or system default value. To reset specific parameters submit a list of the parameter names. To reset the entire CacheParameterGroup, specify the CacheParameterGroup name and ResetAllParameters 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.
 List<ParameterNameValue> getParameterNameValues()
          An array of parameter names which should be reset.
 Boolean getResetAllParameters()
          Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.
 int hashCode()
           
 Boolean isResetAllParameters()
          Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.
 void setCacheParameterGroupName(String cacheParameterGroupName)
          The name of the Cache Parameter Group.
 void setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
          An array of parameter names which should be reset.
 void setResetAllParameters(Boolean resetAllParameters)
          Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group 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.
 ResetCacheParameterGroupRequest withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
          An array of parameter names which should be reset.
 ResetCacheParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues)
          An array of parameter names which should be reset.
 ResetCacheParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
          Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
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.
parameterNameValues - An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.
Method Detail

getCacheParameterGroupName

public String getCacheParameterGroupName()
The name of the Cache Parameter Group.

Returns:
The name of the Cache Parameter Group.

setCacheParameterGroupName

public void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the Cache Parameter Group.

Parameters:
cacheParameterGroupName - The name of the Cache Parameter Group.

withCacheParameterGroupName

public ResetCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the Cache Parameter Group.

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

Parameters:
cacheParameterGroupName - The name of the Cache Parameter Group.
Returns:
A reference to this updated object so that method calls can be chained together.

isResetAllParameters

public Boolean isResetAllParameters()
Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.

Returns:
Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.

setResetAllParameters

public void setResetAllParameters(Boolean resetAllParameters)
Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.

Parameters:
resetAllParameters - Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.

withResetAllParameters

public ResetCacheParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.

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

Parameters:
resetAllParameters - Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.
Returns:
A reference to this updated object so that method calls can be chained together.

getResetAllParameters

public Boolean getResetAllParameters()
Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.

Returns:
Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.

getParameterNameValues

public List<ParameterNameValue> getParameterNameValues()
An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.

Returns:
An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.

setParameterNameValues

public void setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.

Parameters:
parameterNameValues - An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.

withParameterNameValues

public ResetCacheParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.

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

Parameters:
parameterNameValues - An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.
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 which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.

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

Parameters:
parameterNameValues - An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.