Class Parameter
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.Parameter
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Parameter extends Object implements Serializable, Cloneable
Describes an individual setting that controls some aspect of ElastiCache behavior.
- 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
getDataType()
The valid data type for the parameter.String
getDescription()
A description of the parameter.Boolean
getIsModifiable()
Indicates whether (true
) or not (false
) the parameter can be modified.String
getMinimumEngineVersion()
The earliest cache 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.int
hashCode()
Boolean
isModifiable()
Indicates whether (true
) or not (false
) the parameter can be modified.void
setAllowedValues(String allowedValues)
The valid range of values for the parameter.void
setDataType(String dataType)
The valid data type for the parameter.void
setDescription(String description)
A description of the parameter.void
setIsModifiable(Boolean isModifiable)
Indicates whether (true
) or not (false
) the parameter can be modified.void
setMinimumEngineVersion(String minimumEngineVersion)
The earliest cache 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.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
withDataType(String dataType)
The valid data type for the parameter.Parameter
withDescription(String description)
A description of the parameter.Parameter
withIsModifiable(Boolean isModifiable)
Indicates whether (true
) or not (false
) the parameter can be modified.Parameter
withMinimumEngineVersion(String minimumEngineVersion)
The earliest cache 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.
-
-
-
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.
- Parameters:
source
- The source of the parameter.
-
getSource
public String getSource()
The source of the parameter.
- Returns:
- The source of the parameter.
-
withSource
public Parameter withSource(String source)
The source of the parameter.
- Parameters:
source
- The source of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataType
public void setDataType(String dataType)
The valid data type for the parameter.
- Parameters:
dataType
- The valid data type for the parameter.
-
getDataType
public String getDataType()
The valid data type for the parameter.
- Returns:
- The valid data type for the parameter.
-
withDataType
public Parameter withDataType(String dataType)
The valid data type for the parameter.
- Parameters:
dataType
- The valid data type for 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.
-
setIsModifiable
public void setIsModifiable(Boolean isModifiable)
Indicates whether (
true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Parameters:
isModifiable
- Indicates whether (true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
-
getIsModifiable
public Boolean getIsModifiable()
Indicates whether (
true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Returns:
- Indicates whether (
true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
-
withIsModifiable
public Parameter withIsModifiable(Boolean isModifiable)
Indicates whether (
true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Parameters:
isModifiable
- Indicates whether (true
) or not (false
) 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()
Indicates whether (
true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Returns:
- Indicates whether (
true
) or not (false
) 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 cache engine version to which the parameter can apply.
- Parameters:
minimumEngineVersion
- The earliest cache engine version to which the parameter can apply.
-
getMinimumEngineVersion
public String getMinimumEngineVersion()
The earliest cache engine version to which the parameter can apply.
- Returns:
- The earliest cache engine version to which the parameter can apply.
-
withMinimumEngineVersion
public Parameter withMinimumEngineVersion(String minimumEngineVersion)
The earliest cache engine version to which the parameter can apply.
- Parameters:
minimumEngineVersion
- The earliest cache 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()
-
-