@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResetCacheParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ResetCacheParameterGroup
operation.
NOOP
Constructor and Description |
---|
ResetCacheParameterGroupRequest()
Default constructor for ResetCacheParameterGroupRequest object.
|
ResetCacheParameterGroupRequest(String cacheParameterGroupName,
List<ParameterNameValue> parameterNameValues)
Constructs a new ResetCacheParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
ResetCacheParameterGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCacheParameterGroupName()
The name of the cache parameter group to reset.
|
List<ParameterNameValue> |
getParameterNameValues()
An array of parameter names to reset to their default values.
|
Boolean |
getResetAllParameters()
If
true , all parameters in the cache parameter group are reset to their default values. |
int |
hashCode() |
Boolean |
isResetAllParameters()
If
true , all parameters in the cache parameter group are reset to their 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 reset to their default values.
|
void |
setResetAllParameters(Boolean resetAllParameters)
If
true , all parameters in the cache parameter group are reset to their 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 reset to their default values.
|
ResetCacheParameterGroupRequest |
withParameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names to reset to their default values.
|
ResetCacheParameterGroupRequest |
withResetAllParameters(Boolean resetAllParameters)
If
true , all parameters in the cache parameter group are reset to their default values. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.public void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.
cacheParameterGroupName
- The name of the cache parameter group to reset.public String getCacheParameterGroupName()
The name of the cache parameter group to reset.
public ResetCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to reset.
cacheParameterGroupName
- The name of the cache parameter group to reset.public void setResetAllParameters(Boolean resetAllParameters)
If true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their default
values.
Valid values: true
| false
resetAllParameters
- If true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their
default values.
Valid values: true
| false
public Boolean getResetAllParameters()
If true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their default
values.
Valid values: true
| false
true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their
default values.
Valid values: true
| false
public ResetCacheParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
If true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their default
values.
Valid values: true
| false
resetAllParameters
- If true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their
default values.
Valid values: true
| false
public Boolean isResetAllParameters()
If true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their default
values.
Valid values: true
| false
true
, all parameters in the cache parameter group are reset to their default values. If
false
, only the parameters listed by ParameterNameValues
are reset to their
default values.
Valid values: true
| false
public List<ParameterNameValue> getParameterNameValues()
An array of parameter names to reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.
ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.public void setParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.
parameterNameValues
- An array of parameter names to reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.public ResetCacheParameterGroupRequest withParameterNameValues(ParameterNameValue... parameterNameValues)
An array of parameter names to reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.
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 reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.public ResetCacheParameterGroupRequest withParameterNameValues(Collection<ParameterNameValue> parameterNameValues)
An array of parameter names to reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.
parameterNameValues
- An array of parameter names to reset to their default values. If ResetAllParameters
is
true
, do not use ParameterNameValues
. If ResetAllParameters
is
false
, you must specify the name of at least one parameter to reset.public String toString()
toString
in class Object
Object.toString()
public ResetCacheParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.