public class ResetCacheParameterGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
ResetCacheParameterGroupRequest()
Default constructor for a new ResetCacheParameterGroupRequest object.
|
ResetCacheParameterGroupRequest(java.lang.String cacheParameterGroupName,
java.util.List<ParameterNameValue> parameterNameValues)
Constructs a new ResetCacheParameterGroupRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheParameterGroupName()
The name of the Cache Parameter Group.
|
java.util.List<ParameterNameValue> |
getParameterNameValues()
An array of parameter names which should be reset.
|
java.lang.Boolean |
getResetAllParameters()
Specifies whether (true) or not (false) to reset all
parameters in the Cache Parameter Group to default values.
|
int |
hashCode() |
java.lang.Boolean |
isResetAllParameters()
Specifies whether (true) or not (false) to reset all
parameters in the Cache Parameter Group to default values.
|
void |
setCacheParameterGroupName(java.lang.String cacheParameterGroupName)
The name of the Cache Parameter Group.
|
void |
setParameterNameValues(java.util.Collection<ParameterNameValue> parameterNameValues)
An array of parameter names which should be reset.
|
void |
setResetAllParameters(java.lang.Boolean resetAllParameters)
Specifies whether (true) or not (false) to reset all
parameters in the Cache Parameter Group to default values.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResetCacheParameterGroupRequest |
withCacheParameterGroupName(java.lang.String cacheParameterGroupName)
The name of the Cache Parameter Group.
|
ResetCacheParameterGroupRequest |
withParameterNameValues(java.util.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(java.lang.Boolean resetAllParameters)
Specifies whether (true) or not (false) to reset all
parameters in the Cache Parameter Group to default values.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ResetCacheParameterGroupRequest()
public ResetCacheParameterGroupRequest(java.lang.String cacheParameterGroupName,
java.util.List<ParameterNameValue> parameterNameValues)
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.public java.lang.String getCacheParameterGroupName()
public void setCacheParameterGroupName(java.lang.String cacheParameterGroupName)
cacheParameterGroupName - The name of the Cache Parameter Group.public ResetCacheParameterGroupRequest withCacheParameterGroupName(java.lang.String cacheParameterGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheParameterGroupName - The name of the Cache Parameter Group.public java.lang.Boolean isResetAllParameters()
public void setResetAllParameters(java.lang.Boolean resetAllParameters)
resetAllParameters - Specifies whether (true) or not (false) to reset all
parameters in the Cache Parameter Group to default values.public ResetCacheParameterGroupRequest withResetAllParameters(java.lang.Boolean resetAllParameters)
Returns a reference to this object so that method calls can be chained together.
resetAllParameters - Specifies whether (true) or not (false) to reset all
parameters in the Cache Parameter Group to default values.public java.lang.Boolean getResetAllParameters()
public java.util.List<ParameterNameValue> getParameterNameValues()
public void setParameterNameValues(java.util.Collection<ParameterNameValue> parameterNameValues)
parameterNameValues - An array of parameter names which should be reset. If not resetting
the entire CacheParameterGroup, at least one parameter name must be
supplied.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 which should be reset. If not resetting
the entire CacheParameterGroup, at least one parameter name must be
supplied.public ResetCacheParameterGroupRequest withParameterNameValues(java.util.Collection<ParameterNameValue> parameterNameValues)
Returns a reference to this object so that method calls can be chained together.
parameterNameValues - An array of parameter names which should be reset. If not resetting
the entire CacheParameterGroup, at least one parameter name must be
supplied.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object