Class Parameter
- java.lang.Object
-
- com.amazonaws.services.redshift.model.Parameter
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Parameter extends Object implements Serializable, Cloneable
Describes a parameter in a cluster parameter group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameter
clone()
boolean
equals(Object obj)
String
getAllowedValues()
The valid range of values for the parameter.String
getApplyType()
Specifies how to apply the WLM configuration parameter.String
getDataType()
The data type of the parameter.String
getDescription()
A description of the parameter.Boolean
getIsModifiable()
Iftrue
, the parameter can be modified.String
getMinimumEngineVersion()
The earliest engine version to which the parameter can apply.String
getParameterName()
The name of the parameter.String
getParameterValue()
The value of the parameter.String
getSource()
The source of the parameter value, such as "engine-default" or "user".int
hashCode()
Boolean
isModifiable()
Iftrue
, the parameter can be modified.void
setAllowedValues(String allowedValues)
The valid range of values for the parameter.void
setApplyType(ParameterApplyType applyType)
Specifies how to apply the WLM configuration parameter.void
setApplyType(String applyType)
Specifies how to apply the WLM configuration parameter.void
setDataType(String dataType)
The data type of the parameter.void
setDescription(String description)
A description of the parameter.void
setIsModifiable(Boolean isModifiable)
Iftrue
, the parameter can be modified.void
setMinimumEngineVersion(String minimumEngineVersion)
The earliest engine version to which the parameter can apply.void
setParameterName(String parameterName)
The name of the parameter.void
setParameterValue(String parameterValue)
The value of the parameter.void
setSource(String source)
The source of the parameter value, such as "engine-default" or "user".String
toString()
Returns a string representation of this object; useful for testing and debugging.Parameter
withAllowedValues(String allowedValues)
The valid range of values for the parameter.Parameter
withApplyType(ParameterApplyType applyType)
Specifies how to apply the WLM configuration parameter.Parameter
withApplyType(String applyType)
Specifies how to apply the WLM configuration parameter.Parameter
withDataType(String dataType)
The data type of the parameter.Parameter
withDescription(String description)
A description of the parameter.Parameter
withIsModifiable(Boolean isModifiable)
Iftrue
, the parameter can be modified.Parameter
withMinimumEngineVersion(String minimumEngineVersion)
The earliest engine version to which the parameter can apply.Parameter
withParameterName(String parameterName)
The name of the parameter.Parameter
withParameterValue(String parameterValue)
The value of the parameter.Parameter
withSource(String source)
The source of the parameter value, such as "engine-default" or "user".
-
-
-
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 Parameter 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.
-
setParameterValue
public void setParameterValue(String parameterValue)
The value of the parameter.
- Parameters:
parameterValue
- The value of the parameter.
-
getParameterValue
public String getParameterValue()
The value of the parameter.
- Returns:
- The value of the parameter.
-
withParameterValue
public Parameter withParameterValue(String parameterValue)
The value of the parameter.
- Parameters:
parameterValue
- The value of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the parameter.
- Parameters:
description
- A description of the parameter.
-
getDescription
public String getDescription()
A description of the parameter.
- Returns:
- A description of the parameter.
-
withDescription
public Parameter withDescription(String description)
A description of the parameter.
- Parameters:
description
- A description of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSource
public void setSource(String source)
The source of the parameter value, such as "engine-default" or "user".
- Parameters:
source
- The source of the parameter value, such as "engine-default" or "user".
-
getSource
public String getSource()
The source of the parameter value, such as "engine-default" or "user".
- Returns:
- The source of the parameter value, such as "engine-default" or "user".
-
withSource
public Parameter withSource(String source)
The source of the parameter value, such as "engine-default" or "user".
- Parameters:
source
- The source of the parameter value, such as "engine-default" or "user".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataType
public void setDataType(String dataType)
The data type of the parameter.
- Parameters:
dataType
- The data type of the parameter.
-
getDataType
public String getDataType()
The data type of the parameter.
- Returns:
- The data type of the parameter.
-
withDataType
public Parameter withDataType(String dataType)
The data type of the parameter.
- Parameters:
dataType
- The data type of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllowedValues
public void setAllowedValues(String allowedValues)
The valid range of values for the parameter.
- Parameters:
allowedValues
- The valid range of values for the parameter.
-
getAllowedValues
public String getAllowedValues()
The valid range of values for the parameter.
- Returns:
- The valid range of values for the parameter.
-
withAllowedValues
public Parameter withAllowedValues(String allowedValues)
The valid range of values for the parameter.
- Parameters:
allowedValues
- The valid range of values for the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApplyType
public void setApplyType(String applyType)
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- Parameters:
applyType
- Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.- See Also:
ParameterApplyType
-
getApplyType
public String getApplyType()
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- Returns:
- Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- See Also:
ParameterApplyType
-
withApplyType
public Parameter withApplyType(String applyType)
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- Parameters:
applyType
- Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterApplyType
-
setApplyType
public void setApplyType(ParameterApplyType applyType)
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- Parameters:
applyType
- Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.- See Also:
ParameterApplyType
-
withApplyType
public Parameter withApplyType(ParameterApplyType applyType)
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- Parameters:
applyType
- Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterApplyType
-
setIsModifiable
public void setIsModifiable(Boolean isModifiable)
If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Parameters:
isModifiable
- Iftrue
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
-
getIsModifiable
public Boolean getIsModifiable()
If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Returns:
- If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
-
withIsModifiable
public Parameter withIsModifiable(Boolean isModifiable)
If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Parameters:
isModifiable
- Iftrue
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isModifiable
public Boolean isModifiable()
If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Returns:
- If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
-
setMinimumEngineVersion
public void setMinimumEngineVersion(String minimumEngineVersion)
The earliest engine version to which the parameter can apply.
- Parameters:
minimumEngineVersion
- The earliest engine version to which the parameter can apply.
-
getMinimumEngineVersion
public String getMinimumEngineVersion()
The earliest engine version to which the parameter can apply.
- Returns:
- The earliest engine version to which the parameter can apply.
-
withMinimumEngineVersion
public Parameter withMinimumEngineVersion(String minimumEngineVersion)
The earliest engine version to which the parameter can apply.
- Parameters:
minimumEngineVersion
- The earliest engine version to which the parameter can apply.- 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()
-
-