Class ClusterParameterStatus
- java.lang.Object
-
- com.amazonaws.services.redshift.model.ClusterParameterStatus
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ClusterParameterStatus extends Object implements Serializable, Cloneable
Describes the status of a parameter group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterParameterStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterParameterStatus
clone()
boolean
equals(Object obj)
String
getParameterApplyErrorDescription()
The error that prevented the parameter from being applied to the database.String
getParameterApplyStatus()
The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.String
getParameterName()
The name of the parameter.int
hashCode()
void
setParameterApplyErrorDescription(String parameterApplyErrorDescription)
The error that prevented the parameter from being applied to the database.void
setParameterApplyStatus(String parameterApplyStatus)
The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.void
setParameterName(String parameterName)
The name of the parameter.String
toString()
Returns a string representation of this object; useful for testing and debugging.ClusterParameterStatus
withParameterApplyErrorDescription(String parameterApplyErrorDescription)
The error that prevented the parameter from being applied to the database.ClusterParameterStatus
withParameterApplyStatus(String parameterApplyStatus)
The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.ClusterParameterStatus
withParameterName(String parameterName)
The name of the parameter.
-
-
-
Method Detail
-
setParameterName
public void setParameterName(String parameterName)
The name of the parameter.
- Parameters:
parameterName
- The name of the parameter.
-
getParameterName
public String getParameterName()
The name of the parameter.
- Returns:
- The name of the parameter.
-
withParameterName
public ClusterParameterStatus withParameterName(String parameterName)
The name of the parameter.
- Parameters:
parameterName
- The name of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setParameterApplyStatus
public void setParameterApplyStatus(String parameterApplyStatus)
The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.
The following are possible statuses and descriptions.
in-sync
: The parameter value is in sync with the database.pending-reboot
: The parameter value will be applied after the cluster reboots.applying
: The parameter value is being applied to the database.invalid-parameter
: Cannot apply the parameter value because it has an invalid value or syntax.apply-deferred
: The parameter contains static property changes. The changes are deferred until the cluster reboots.apply-error
: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots.unknown-error
: Cannot apply the parameter change right now. The change will be applied after the cluster reboots.
- Parameters:
parameterApplyStatus
- The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.The following are possible statuses and descriptions.
in-sync
: The parameter value is in sync with the database.pending-reboot
: The parameter value will be applied after the cluster reboots.applying
: The parameter value is being applied to the database.invalid-parameter
: Cannot apply the parameter value because it has an invalid value or syntax.apply-deferred
: The parameter contains static property changes. The changes are deferred until the cluster reboots.apply-error
: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots.unknown-error
: Cannot apply the parameter change right now. The change will be applied after the cluster reboots.
-
getParameterApplyStatus
public String getParameterApplyStatus()
The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.
The following are possible statuses and descriptions.
in-sync
: The parameter value is in sync with the database.pending-reboot
: The parameter value will be applied after the cluster reboots.applying
: The parameter value is being applied to the database.invalid-parameter
: Cannot apply the parameter value because it has an invalid value or syntax.apply-deferred
: The parameter contains static property changes. The changes are deferred until the cluster reboots.apply-error
: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots.unknown-error
: Cannot apply the parameter change right now. The change will be applied after the cluster reboots.
- Returns:
- The status of the parameter that indicates whether the parameter
is in sync with the database, waiting for a cluster reboot, or
encountered an error when being applied.
The following are possible statuses and descriptions.
in-sync
: The parameter value is in sync with the database.pending-reboot
: The parameter value will be applied after the cluster reboots.applying
: The parameter value is being applied to the database.invalid-parameter
: Cannot apply the parameter value because it has an invalid value or syntax.apply-deferred
: The parameter contains static property changes. The changes are deferred until the cluster reboots.apply-error
: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots.unknown-error
: Cannot apply the parameter change right now. The change will be applied after the cluster reboots.
-
withParameterApplyStatus
public ClusterParameterStatus withParameterApplyStatus(String parameterApplyStatus)
The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.
The following are possible statuses and descriptions.
in-sync
: The parameter value is in sync with the database.pending-reboot
: The parameter value will be applied after the cluster reboots.applying
: The parameter value is being applied to the database.invalid-parameter
: Cannot apply the parameter value because it has an invalid value or syntax.apply-deferred
: The parameter contains static property changes. The changes are deferred until the cluster reboots.apply-error
: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots.unknown-error
: Cannot apply the parameter change right now. The change will be applied after the cluster reboots.
- Parameters:
parameterApplyStatus
- The status of the parameter that indicates whether the parameter is in sync with the database, waiting for a cluster reboot, or encountered an error when being applied.The following are possible statuses and descriptions.
in-sync
: The parameter value is in sync with the database.pending-reboot
: The parameter value will be applied after the cluster reboots.applying
: The parameter value is being applied to the database.invalid-parameter
: Cannot apply the parameter value because it has an invalid value or syntax.apply-deferred
: The parameter contains static property changes. The changes are deferred until the cluster reboots.apply-error
: Cannot connect to the cluster. The parameter change will be applied after the cluster reboots.unknown-error
: Cannot apply the parameter change right now. The change will be applied after the cluster reboots.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setParameterApplyErrorDescription
public void setParameterApplyErrorDescription(String parameterApplyErrorDescription)
The error that prevented the parameter from being applied to the database.
- Parameters:
parameterApplyErrorDescription
- The error that prevented the parameter from being applied to the database.
-
getParameterApplyErrorDescription
public String getParameterApplyErrorDescription()
The error that prevented the parameter from being applied to the database.
- Returns:
- The error that prevented the parameter from being applied to the database.
-
withParameterApplyErrorDescription
public ClusterParameterStatus withParameterApplyErrorDescription(String parameterApplyErrorDescription)
The error that prevented the parameter from being applied to the database.
- Parameters:
parameterApplyErrorDescription
- The error that prevented the parameter from being applied to the database.- 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 ClusterParameterStatus clone()
-
-