Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class ResetClusterParameterGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.ResetClusterParameterGroupRequest
All Implemented Interfaces:
Serializable

public class ResetClusterParameterGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AmazonRedshift.resetClusterParameterGroup(ResetClusterParameterGroupRequest), Serialized Form

Constructor Summary
ResetClusterParameterGroupRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResetClusterParameterGroupRequest

public ResetClusterParameterGroupRequest()
Method Detail

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.

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.

withParameterGroupName

public ResetClusterParameterGroupRequest withParameterGroupName(String parameterGroupName)
The name of the cluster parameter group to be reset.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parameterGroupName - The name of the cluster parameter group to be reset.
Returns:
A reference to this updated 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


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 - 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

Returns a reference to this object so that method calls can be chained together.

Parameters:
resetAllParameters - If true, all parameters in the specified parameter group will be reset to their default values.

Default: true

Returns:
A reference to this updated object so that method calls can be chained together.

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


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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.