Class CacheNodeTypeSpecificParameter
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The valid range of values for the parameter.A list of cache node types and their corresponding values for this parameter.The valid data type for the parameter.A description of the parameter.Indicates whether (true
) or not (false
) the parameter can be modified.The earliest cache engine version to which the parameter can apply.The name of the parameter.The source of the parameter value.int
hashCode()
Indicates whether (true
) or not (false
) the parameter can be modified.void
setAllowedValues
(String allowedValues) The valid range of values for the parameter.void
setCacheNodeTypeSpecificValues
(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues) A list of cache node types and their corresponding values for this 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
The source of the parameter value.toString()
Returns a string representation of this object; useful for testing and debugging.withAllowedValues
(String allowedValues) The valid range of values for the parameter.withCacheNodeTypeSpecificValues
(CacheNodeTypeSpecificValue... cacheNodeTypeSpecificValues) A list of cache node types and their corresponding values for this parameter.withCacheNodeTypeSpecificValues
(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues) A list of cache node types and their corresponding values for this parameter.withDataType
(String dataType) The valid data type for the parameter.withDescription
(String description) A description of the parameter.withIsModifiable
(Boolean isModifiable) Indicates whether (true
) or not (false
) the parameter can be modified.withMinimumEngineVersion
(String minimumEngineVersion) The earliest cache engine version to which the parameter can apply.withParameterName
(String parameterName) The name of the parameter.withSource
(String source) The source of the parameter value.
-
Constructor Details
-
CacheNodeTypeSpecificParameter
public CacheNodeTypeSpecificParameter()
-
-
Method Details
-
setParameterName
The name of the parameter.
- Parameters:
parameterName
- The name of the parameter.
-
getParameterName
The name of the parameter.
- Returns:
- The name of the parameter.
-
withParameterName
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
A description of the parameter.
- Parameters:
description
- A description of the parameter.
-
getDescription
A description of the parameter.
- Returns:
- A description of the parameter.
-
withDescription
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
The source of the parameter value.
- Parameters:
source
- The source of the parameter value.
-
getSource
The source of the parameter value.
- Returns:
- The source of the parameter value.
-
withSource
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
The valid data type for the parameter.
- Parameters:
dataType
- The valid data type for the parameter.
-
getDataType
The valid data type for the parameter.
- Returns:
- The valid data type for the parameter.
-
withDataType
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
The valid range of values for the parameter.
- Parameters:
allowedValues
- The valid range of values for the parameter.
-
getAllowedValues
The valid range of values for the parameter.
- Returns:
- The valid range of values for the parameter.
-
withAllowedValues
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
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
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
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
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
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
The earliest cache engine version to which the parameter can apply.
- Returns:
- The earliest cache engine version to which the parameter can apply.
-
withMinimumEngineVersion
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-