public class ResetCacheParameterGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a ResetCacheParameterGroup action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheParameterGroupName
The name of the cache parameter group to reset.
|
private SdkInternalList<ParameterNameValue> |
parameterNameValues
An array of parameter names to be reset.
|
private java.lang.Boolean |
resetAllParameters
If true, all parameters in the cache parameter group will be reset
to default values.
|
NOOP
Constructor and Description |
---|
ResetCacheParameterGroupRequest()
Default constructor for ResetCacheParameterGroupRequest object.
|
ResetCacheParameterGroupRequest(java.lang.String cacheParameterGroupName,
java.util.List<ParameterNameValue> parameterNameValues)
Constructs a new ResetCacheParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
ResetCacheParameterGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheParameterGroupName()
The name of the cache parameter group to reset.
|
java.util.List<ParameterNameValue> |
getParameterNameValues()
An array of parameter names to be reset.
|
java.lang.Boolean |
getResetAllParameters()
If true, all parameters in the cache parameter group will be reset
to default values.
|
int |
hashCode() |
java.lang.Boolean |
isResetAllParameters()
If true, all parameters in the cache parameter group will be reset
to default values.
|
void |
setCacheParameterGroupName(java.lang.String cacheParameterGroupName)
The name of the cache parameter group to reset.
|
void |
setParameterNameValues(java.util.Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to be reset.
|
void |
setResetAllParameters(java.lang.Boolean resetAllParameters)
If true, all parameters in the cache parameter group will be reset
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 to reset.
|
ResetCacheParameterGroupRequest |
withParameterNameValues(java.util.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(java.lang.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
private java.lang.String cacheParameterGroupName
The name of the cache parameter group to reset.
private java.lang.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
private SdkInternalList<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.
public ResetCacheParameterGroupRequest()
public ResetCacheParameterGroupRequest(java.lang.String cacheParameterGroupName, java.util.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(java.lang.String cacheParameterGroupName)
The name of the cache parameter group to reset.
cacheParameterGroupName
- The name of the cache parameter group to reset.public java.lang.String getCacheParameterGroupName()
The name of the cache parameter group to reset.
public ResetCacheParameterGroupRequest withCacheParameterGroupName(java.lang.String cacheParameterGroupName)
The name of the cache parameter group to reset.
cacheParameterGroupName
- The name of the cache parameter group to reset.public void setResetAllParameters(java.lang.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 java.lang.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(java.lang.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 java.lang.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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ResetCacheParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()