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 Parameterclone()booleanequals(Object obj)StringgetAllowedValues()The valid range of values for the parameter.StringgetApplyType()Specifies how to apply the WLM configuration parameter.StringgetDataType()The data type of the parameter.StringgetDescription()A description of the parameter.BooleangetIsModifiable()Iftrue, the parameter can be modified.StringgetMinimumEngineVersion()The earliest engine version to which the parameter can apply.StringgetParameterName()The name of the parameter.StringgetParameterValue()The value of the parameter.StringgetSource()The source of the parameter value, such as "engine-default" or "user".inthashCode()BooleanisModifiable()Iftrue, the parameter can be modified.voidsetAllowedValues(String allowedValues)The valid range of values for the parameter.voidsetApplyType(ParameterApplyType applyType)Specifies how to apply the WLM configuration parameter.voidsetApplyType(String applyType)Specifies how to apply the WLM configuration parameter.voidsetDataType(String dataType)The data type of the parameter.voidsetDescription(String description)A description of the parameter.voidsetIsModifiable(Boolean isModifiable)Iftrue, the parameter can be modified.voidsetMinimumEngineVersion(String minimumEngineVersion)The earliest engine version to which the parameter can apply.voidsetParameterName(String parameterName)The name of the parameter.voidsetParameterValue(String parameterValue)The value of the parameter.voidsetSource(String source)The source of the parameter value, such as "engine-default" or "user".StringtoString()Returns a string representation of this object; useful for testing and debugging.ParameterwithAllowedValues(String allowedValues)The valid range of values for the parameter.ParameterwithApplyType(ParameterApplyType applyType)Specifies how to apply the WLM configuration parameter.ParameterwithApplyType(String applyType)Specifies how to apply the WLM configuration parameter.ParameterwithDataType(String dataType)The data type of the parameter.ParameterwithDescription(String description)A description of the parameter.ParameterwithIsModifiable(Boolean isModifiable)Iftrue, the parameter can be modified.ParameterwithMinimumEngineVersion(String minimumEngineVersion)The earliest engine version to which the parameter can apply.ParameterwithParameterName(String parameterName)The name of the parameter.ParameterwithParameterValue(String parameterValue)The value of the parameter.ParameterwithSource(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-