Class ModifyDBParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.ModifyDBParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyDBParameterGroupRequest()
Default constructor for ModifyDBParameterGroupRequest object.ModifyDBParameterGroupRequest(String dBParameterGroupName, List<Parameter> parameters)
Constructs a new ModifyDBParameterGroupRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyDBParameterGroupRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDBParameterGroupName()
The name of the DB parameter group.List<Parameter>
getParameters()
An array of parameter names, values, and the apply method for the parameter update.int
hashCode()
void
setDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.void
setParameters(Collection<Parameter> parameters)
An array of parameter names, values, and the apply method for the parameter update.String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyDBParameterGroupRequest
withDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.ModifyDBParameterGroupRequest
withParameters(Parameter... parameters)
An array of parameter names, values, and the apply method for the parameter update.ModifyDBParameterGroupRequest
withParameters(Collection<Parameter> parameters)
An array of parameter names, values, and the apply method for the parameter update.-
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
-
-
-
-
Constructor Detail
-
ModifyDBParameterGroupRequest
public ModifyDBParameterGroupRequest()
Default constructor for ModifyDBParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ModifyDBParameterGroupRequest
public ModifyDBParameterGroupRequest(String dBParameterGroupName, List<Parameter> parameters)
Constructs a new ModifyDBParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
dBParameterGroupName
- The name of the DB parameter group.Constraints:
- Must be the name of an existing DB parameter group
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
parameters
- An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover.
-
-
Method Detail
-
setDBParameterGroupName
public void setDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
Constraints:
- Must be the name of an existing DB parameter group
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
dBParameterGroupName
- The name of the DB parameter group.Constraints:
- Must be the name of an existing DB parameter group
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
getDBParameterGroupName
public String getDBParameterGroupName()
The name of the DB parameter group.
Constraints:
- Must be the name of an existing DB parameter group
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- The name of the DB parameter group.
Constraints:
- Must be the name of an existing DB parameter group
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
withDBParameterGroupName
public ModifyDBParameterGroupRequest withDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
Constraints:
- Must be the name of an existing DB parameter group
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
dBParameterGroupName
- The name of the DB parameter group.Constraints:
- Must be the name of an existing DB parameter group
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getParameters
public List<Parameter> getParameters()
An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. - Returns:
- An array of parameter names, values, and the apply method for the
parameter update. At least one parameter name, value, and apply
method must be supplied; subsequent arguments are optional. A
maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover.
-
setParameters
public void setParameters(Collection<Parameter> parameters)
An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. - Parameters:
parameters
- An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover.
-
withParameters
public ModifyDBParameterGroupRequest withParameters(Parameter... parameters)
An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. 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 parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. - Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameters
public ModifyDBParameterGroupRequest withParameters(Collection<Parameter> parameters)
An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. - Parameters:
parameters
- An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.Valid Values (for the application method):
immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. - 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 ModifyDBParameterGroupRequest 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()
-
-