Class CacheNodeTypeSpecificParameter
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.CacheNodeTypeSpecificParameter
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CacheNodeTypeSpecificParameter extends Object implements Serializable, Cloneable
A parameter that has a different value for each cache node type it is applied to. For example, in a Redis cache cluster, a cache.m1.large cache node type would have a larger maxmemory value than a cache.m1.small type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheNodeTypeSpecificParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheNodeTypeSpecificParameterclone()booleanequals(Object obj)StringgetAllowedValues()The valid range of values for the parameter.List<CacheNodeTypeSpecificValue>getCacheNodeTypeSpecificValues()A list of cache node types and their corresponding values for this parameter.StringgetDataType()The valid data type for the parameter.StringgetDescription()A description of the parameter.BooleangetIsModifiable()Indicates whether (true) or not (false) the parameter can be modified.StringgetMinimumEngineVersion()The earliest cache engine version to which the parameter can apply.StringgetParameterName()The name of the parameter.StringgetSource()The source of the parameter value.inthashCode()BooleanisModifiable()Indicates whether (true) or not (false) the parameter can be modified.voidsetAllowedValues(String allowedValues)The valid range of values for the parameter.voidsetCacheNodeTypeSpecificValues(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)A list of cache node types and their corresponding values for this parameter.voidsetDataType(String dataType)The valid data type for the parameter.voidsetDescription(String description)A description of the parameter.voidsetIsModifiable(Boolean isModifiable)Indicates whether (true) or not (false) the parameter can be modified.voidsetMinimumEngineVersion(String minimumEngineVersion)The earliest cache engine version to which the parameter can apply.voidsetParameterName(String parameterName)The name of the parameter.voidsetSource(String source)The source of the parameter value.StringtoString()Returns a string representation of this object; useful for testing and debugging.CacheNodeTypeSpecificParameterwithAllowedValues(String allowedValues)The valid range of values for the parameter.CacheNodeTypeSpecificParameterwithCacheNodeTypeSpecificValues(CacheNodeTypeSpecificValue... cacheNodeTypeSpecificValues)A list of cache node types and their corresponding values for this parameter.CacheNodeTypeSpecificParameterwithCacheNodeTypeSpecificValues(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)A list of cache node types and their corresponding values for this parameter.CacheNodeTypeSpecificParameterwithDataType(String dataType)The valid data type for the parameter.CacheNodeTypeSpecificParameterwithDescription(String description)A description of the parameter.CacheNodeTypeSpecificParameterwithIsModifiable(Boolean isModifiable)Indicates whether (true) or not (false) the parameter can be modified.CacheNodeTypeSpecificParameterwithMinimumEngineVersion(String minimumEngineVersion)The earliest cache engine version to which the parameter can apply.CacheNodeTypeSpecificParameterwithParameterName(String parameterName)The name of the parameter.CacheNodeTypeSpecificParameterwithSource(String source)The source of the parameter value.
-
-
-
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 CacheNodeTypeSpecificParameter 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.
-
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 CacheNodeTypeSpecificParameter 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.
- Parameters:
source- The source of the parameter value.
-
getSource
public String getSource()
The source of the parameter value.
- Returns:
- The source of the parameter value.
-
withSource
public CacheNodeTypeSpecificParameter withSource(String source)
The source of the parameter value.
- Parameters:
source- The source of the parameter value.- 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 CacheNodeTypeSpecificParameter 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 CacheNodeTypeSpecificParameter 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 CacheNodeTypeSpecificParameter 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 CacheNodeTypeSpecificParameter 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.
-
getCacheNodeTypeSpecificValues
public List<CacheNodeTypeSpecificValue> getCacheNodeTypeSpecificValues()
A list of cache node types and their corresponding values for this parameter.
- Returns:
- A list of cache node types and their corresponding values for this parameter.
-
setCacheNodeTypeSpecificValues
public void setCacheNodeTypeSpecificValues(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this parameter.
- Parameters:
cacheNodeTypeSpecificValues- A list of cache node types and their corresponding values for this parameter.
-
withCacheNodeTypeSpecificValues
public CacheNodeTypeSpecificParameter withCacheNodeTypeSpecificValues(CacheNodeTypeSpecificValue... cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this parameter.
NOTE: This method appends the values to the existing list (if any). Use
setCacheNodeTypeSpecificValues(java.util.Collection)orwithCacheNodeTypeSpecificValues(java.util.Collection)if you want to override the existing values.- Parameters:
cacheNodeTypeSpecificValues- A list of cache node types and their corresponding values for this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCacheNodeTypeSpecificValues
public CacheNodeTypeSpecificParameter withCacheNodeTypeSpecificValues(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this parameter.
- Parameters:
cacheNodeTypeSpecificValues- A list of cache node types and their corresponding values for this parameter.- 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()
-
clone
public CacheNodeTypeSpecificParameter clone()
-
-