public class CacheNodeTypeSpecificParameter
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
allowedValues
The valid range of values for the parameter.
|
private SdkInternalList<CacheNodeTypeSpecificValue> |
cacheNodeTypeSpecificValues
A list of cache node types and their corresponding values for this
parameter.
|
private java.lang.String |
dataType
The valid data type for the parameter.
|
private java.lang.String |
description
A description of the parameter.
|
private java.lang.Boolean |
isModifiable
Indicates whether (
true ) or not (false ) the
parameter can be modified. |
private java.lang.String |
minimumEngineVersion
The earliest cache engine version to which the parameter can apply.
|
private java.lang.String |
parameterName
The name of the parameter.
|
private java.lang.String |
source
The source of the parameter value.
|
Constructor and Description |
---|
CacheNodeTypeSpecificParameter() |
Modifier and Type | Method and Description |
---|---|
CacheNodeTypeSpecificParameter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAllowedValues()
The valid range of values for the parameter.
|
java.util.List<CacheNodeTypeSpecificValue> |
getCacheNodeTypeSpecificValues()
A list of cache node types and their corresponding values for this
parameter.
|
java.lang.String |
getDataType()
The valid data type for the parameter.
|
java.lang.String |
getDescription()
A description of the parameter.
|
java.lang.Boolean |
getIsModifiable()
Indicates whether (
true ) or not (false ) the
parameter can be modified. |
java.lang.String |
getMinimumEngineVersion()
The earliest cache engine version to which the parameter can apply.
|
java.lang.String |
getParameterName()
The name of the parameter.
|
java.lang.String |
getSource()
The source of the parameter value.
|
int |
hashCode() |
java.lang.Boolean |
isModifiable()
Indicates whether (
true ) or not (false ) the
parameter can be modified. |
void |
setAllowedValues(java.lang.String allowedValues)
The valid range of values for the parameter.
|
void |
setCacheNodeTypeSpecificValues(java.util.Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this
parameter.
|
void |
setDataType(java.lang.String dataType)
The valid data type for the parameter.
|
void |
setDescription(java.lang.String description)
A description of the parameter.
|
void |
setIsModifiable(java.lang.Boolean isModifiable)
Indicates whether (
true ) or not (false ) the
parameter can be modified. |
void |
setMinimumEngineVersion(java.lang.String minimumEngineVersion)
The earliest cache engine version to which the parameter can apply.
|
void |
setParameterName(java.lang.String parameterName)
The name of the parameter.
|
void |
setSource(java.lang.String source)
The source of the parameter value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CacheNodeTypeSpecificParameter |
withAllowedValues(java.lang.String allowedValues)
The valid range of values for the parameter.
|
CacheNodeTypeSpecificParameter |
withCacheNodeTypeSpecificValues(CacheNodeTypeSpecificValue... cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this
parameter.
|
CacheNodeTypeSpecificParameter |
withCacheNodeTypeSpecificValues(java.util.Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this
parameter.
|
CacheNodeTypeSpecificParameter |
withDataType(java.lang.String dataType)
The valid data type for the parameter.
|
CacheNodeTypeSpecificParameter |
withDescription(java.lang.String description)
A description of the parameter.
|
CacheNodeTypeSpecificParameter |
withIsModifiable(java.lang.Boolean isModifiable)
Indicates whether (
true ) or not (false ) the
parameter can be modified. |
CacheNodeTypeSpecificParameter |
withMinimumEngineVersion(java.lang.String minimumEngineVersion)
The earliest cache engine version to which the parameter can apply.
|
CacheNodeTypeSpecificParameter |
withParameterName(java.lang.String parameterName)
The name of the parameter.
|
CacheNodeTypeSpecificParameter |
withSource(java.lang.String source)
The source of the parameter value.
|
private java.lang.String parameterName
The name of the parameter.
private java.lang.String description
A description of the parameter.
private java.lang.String source
The source of the parameter value.
private java.lang.String dataType
The valid data type for the parameter.
private java.lang.String allowedValues
The valid range of values for the parameter.
private java.lang.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.
private java.lang.String minimumEngineVersion
The earliest cache engine version to which the parameter can apply.
private SdkInternalList<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues
A list of cache node types and their corresponding values for this parameter.
public void setParameterName(java.lang.String parameterName)
The name of the parameter.
parameterName
- The name of the parameter.public java.lang.String getParameterName()
The name of the parameter.
public CacheNodeTypeSpecificParameter withParameterName(java.lang.String parameterName)
The name of the parameter.
parameterName
- The name of the parameter.public void setDescription(java.lang.String description)
A description of the parameter.
description
- A description of the parameter.public java.lang.String getDescription()
A description of the parameter.
public CacheNodeTypeSpecificParameter withDescription(java.lang.String description)
A description of the parameter.
description
- A description of the parameter.public void setSource(java.lang.String source)
The source of the parameter value.
source
- The source of the parameter value.public java.lang.String getSource()
The source of the parameter value.
public CacheNodeTypeSpecificParameter withSource(java.lang.String source)
The source of the parameter value.
source
- The source of the parameter value.public void setDataType(java.lang.String dataType)
The valid data type for the parameter.
dataType
- The valid data type for the parameter.public java.lang.String getDataType()
The valid data type for the parameter.
public CacheNodeTypeSpecificParameter withDataType(java.lang.String dataType)
The valid data type for the parameter.
dataType
- The valid data type for the parameter.public void setAllowedValues(java.lang.String allowedValues)
The valid range of values for the parameter.
allowedValues
- The valid range of values for the parameter.public java.lang.String getAllowedValues()
The valid range of values for the parameter.
public CacheNodeTypeSpecificParameter withAllowedValues(java.lang.String allowedValues)
The valid range of values for the parameter.
allowedValues
- The valid range of values for the parameter.public void setIsModifiable(java.lang.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.
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.public java.lang.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.
true
) or not (false
)
the parameter can be modified. Some parameters have security or
operational implications that prevent them from being changed.public CacheNodeTypeSpecificParameter withIsModifiable(java.lang.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.
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.public java.lang.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.
true
) or not (false
)
the parameter can be modified. Some parameters have security or
operational implications that prevent them from being changed.public void setMinimumEngineVersion(java.lang.String minimumEngineVersion)
The earliest cache engine version to which the parameter can apply.
minimumEngineVersion
- The earliest cache engine version to which the parameter can
apply.public java.lang.String getMinimumEngineVersion()
The earliest cache engine version to which the parameter can apply.
public CacheNodeTypeSpecificParameter withMinimumEngineVersion(java.lang.String minimumEngineVersion)
The earliest cache engine version to which the parameter can apply.
minimumEngineVersion
- The earliest cache engine version to which the parameter can
apply.public java.util.List<CacheNodeTypeSpecificValue> getCacheNodeTypeSpecificValues()
A list of cache node types and their corresponding values for this parameter.
public void setCacheNodeTypeSpecificValues(java.util.Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this parameter.
cacheNodeTypeSpecificValues
- A list of cache node types and their corresponding values for this
parameter.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)
or withCacheNodeTypeSpecificValues(java.util.Collection)
if you
want to override the existing values.
cacheNodeTypeSpecificValues
- A list of cache node types and their corresponding values for this
parameter.public CacheNodeTypeSpecificParameter withCacheNodeTypeSpecificValues(java.util.Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this parameter.
cacheNodeTypeSpecificValues
- A list of cache node types and their corresponding values for this
parameter.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CacheNodeTypeSpecificParameter clone()
clone
in class java.lang.Object