Class ModifyClusterParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.ModifyClusterParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyClusterParameterGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyClusterParameterGroupRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getParameterGroupName()
The name of the parameter group to be modified.List<Parameter>
getParameters()
An array of parameters to be modified.int
hashCode()
void
setParameterGroupName(String parameterGroupName)
The name of the parameter group to be modified.void
setParameters(Collection<Parameter> parameters)
An array of parameters to be modified.String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyClusterParameterGroupRequest
withParameterGroupName(String parameterGroupName)
The name of the parameter group to be modified.ModifyClusterParameterGroupRequest
withParameters(Parameter... parameters)
An array of parameters to be modified.ModifyClusterParameterGroupRequest
withParameters(Collection<Parameter> parameters)
An array of parameters to be modified.-
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 parameter group to be modified.
- Parameters:
parameterGroupName
- The name of the parameter group to be modified.
-
getParameterGroupName
public String getParameterGroupName()
The name of the parameter group to be modified.
- Returns:
- The name of the parameter group to be modified.
-
withParameterGroupName
public ModifyClusterParameterGroupRequest withParameterGroupName(String parameterGroupName)
The name of the parameter group to be modified.
- Parameters:
parameterGroupName
- The name of the parameter group to be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getParameters
public List<Parameter> getParameters()
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
- Returns:
- An array of parameters to be modified. A maximum of 20 parameters
can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
-
setParameters
public void setParameters(Collection<Parameter> parameters)
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
- Parameters:
parameters
- An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
-
withParameters
public ModifyClusterParameterGroupRequest withParameters(Parameter... parameters)
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
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 parameters to be modified. A maximum of 20 parameters can be modified in a single request.For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameters
public ModifyClusterParameterGroupRequest withParameters(Collection<Parameter> parameters)
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
- Parameters:
parameters
- An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
- 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 ModifyClusterParameterGroupRequest 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()
-
-