Class ResetClusterParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.ResetClusterParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ResetClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ResetClusterParameterGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResetClusterParameterGroupRequest
clone()
Creates a shallow clone of this request.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()
Iftrue
, all parameters in the specified parameter group will be reset to their default values.int
hashCode()
Boolean
isResetAllParameters()
Iftrue
, 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)
Iftrue
, 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(Parameter... parameters)
An array of names of parameters to be reset.ResetClusterParameterGroupRequest
withParameters(Collection<Parameter> parameters)
An array of names of parameters to be reset.ResetClusterParameterGroupRequest
withResetAllParameters(Boolean resetAllParameters)
Iftrue
, all parameters in the specified parameter group will be reset to their default values.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setParameterGroupName
public void setParameterGroupName(String parameterGroupName)
The name of the cluster parameter group to be reset.
- Parameters:
parameterGroupName
- The name of the cluster parameter group to be reset.
-
getParameterGroupName
public String getParameterGroupName()
The name of the cluster parameter group to be reset.
- Returns:
- The name of the cluster parameter group to be reset.
-
withParameterGroupName
public ResetClusterParameterGroupRequest withParameterGroupName(String parameterGroupName)
The name of the cluster parameter group to be reset.
- Parameters:
parameterGroupName
- The name of the cluster parameter group to be reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResetAllParameters
public void setResetAllParameters(Boolean resetAllParameters)
If
true
, all parameters in the specified parameter group will be reset to their default values.Default:
true
- Parameters:
resetAllParameters
- Iftrue
, all parameters in the specified parameter group will be reset to their default values.Default:
true
-
getResetAllParameters
public Boolean getResetAllParameters()
If
true
, all parameters in the specified parameter group will be reset to their default values.Default:
true
- Returns:
- If
true
, all parameters in the specified parameter group will be reset to their default values.Default:
true
-
withResetAllParameters
public ResetClusterParameterGroupRequest withResetAllParameters(Boolean resetAllParameters)
If
true
, all parameters in the specified parameter group will be reset to their default values.Default:
true
- Parameters:
resetAllParameters
- Iftrue
, all parameters in the specified parameter group will be reset to their default values.Default:
true
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isResetAllParameters
public Boolean isResetAllParameters()
If
true
, all parameters in the specified parameter group will be reset to their default values.Default:
true
- Returns:
- If
true
, all parameters in the specified parameter group will be reset to their default values.Default:
true
-
getParameters
public List<Parameter> getParameters()
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.
- Returns:
- 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.
-
setParameters
public void setParameters(Collection<Parameter> 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.
- Parameters:
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.
-
withParameters
public ResetClusterParameterGroupRequest withParameters(Parameter... 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.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
orwithParameters(java.util.Collection)
if you want to override the existing values.- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameters
public ResetClusterParameterGroupRequest withParameters(Collection<Parameter> 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.
- Parameters:
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.
- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ResetClusterParameterGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-