public class ResetClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable
ResetClusterParameterGroup operation
.
Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.
NOOP
Constructor and Description |
---|
ResetClusterParameterGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getParameterGroupName()
The name of the cluster parameter group to be reset.
|
List<Parameter> |
getParameters()
An array of names of parameters to be reset.
|
Boolean |
getResetAllParameters()
If
true , all parameters in the specified parameter group
will be reset to their default values. |
int |
hashCode() |
Boolean |
isResetAllParameters()
If
true , all parameters in the specified parameter group
will be reset to their default values. |
void |
setParameterGroupName(String parameterGroupName)
The name of the cluster parameter group to be reset.
|
void |
setParameters(Collection<Parameter> parameters)
An array of names of parameters to be reset.
|
void |
setResetAllParameters(Boolean resetAllParameters)
If
true , all parameters in the specified parameter group
will be reset to their default values. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResetClusterParameterGroupRequest |
withParameterGroupName(String parameterGroupName)
The name of the cluster parameter group to be reset.
|
ResetClusterParameterGroupRequest |
withParameters(Collection<Parameter> parameters)
An array of names of parameters to be reset.
|
ResetClusterParameterGroupRequest |
withParameters(Parameter... parameters)
An array of names of parameters to be reset.
|
ResetClusterParameterGroupRequest |
withResetAllParameters(Boolean resetAllParameters)
If
true , all parameters in the specified parameter group
will be reset to their default values. |
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getParameterGroupName()
public void setParameterGroupName(String parameterGroupName)
parameterGroupName
- The name of the cluster parameter group to be reset.public ResetClusterParameterGroupRequest withParameterGroupName(String parameterGroupName)
Returns a reference to this object so that method calls can be chained together.
parameterGroupName
- The name of the cluster parameter group to be reset.public Boolean isResetAllParameters()
true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
public void setResetAllParameters(Boolean resetAllParameters)
true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
resetAllParameters
- If true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
public ResetClusterParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
Returns a reference to this object so that method calls can be chained together.
resetAllParameters
- If true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
public Boolean getResetAllParameters()
true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
true
, all parameters in the specified parameter group
will be reset to their default values. Default: true
public List<Parameter> getParameters()
Constraints: A maximum of 20 parameters can be reset in a single request.
Constraints: A maximum of 20 parameters can be reset in a single request.
public void setParameters(Collection<Parameter> parameters)
Constraints: A maximum of 20 parameters can be reset in a single request.
parameters
- An array of names of parameters to be reset. If
ResetAllParameters option is not used, then at least one
parameter name must be supplied. Constraints: A maximum of 20 parameters can be reset in a single request.
public ResetClusterParameterGroupRequest withParameters(Parameter... parameters)
Constraints: A maximum of 20 parameters can be reset in a single request.
Returns a reference to this object so that method calls can be chained together.
parameters
- An array of names of parameters to be reset. If
ResetAllParameters option is not used, then at least one
parameter name must be supplied. Constraints: A maximum of 20 parameters can be reset in a single request.
public ResetClusterParameterGroupRequest withParameters(Collection<Parameter> parameters)
Constraints: A maximum of 20 parameters can be reset in a single request.
Returns a reference to this object so that method calls can be chained together.
parameters
- An array of names of parameters to be reset. If
ResetAllParameters option is not used, then at least one
parameter name must be supplied. Constraints: A maximum of 20 parameters can be reset in a single request.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.