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.
| Constructor and Description |
|---|
CacheNodeTypeSpecificParameter()
Default constructor for a new CacheNodeTypeSpecificParameter object.
|
| Modifier and Type | Method and Description |
|---|---|
CacheNodeTypeSpecificParameter |
clone() |
boolean |
equals(Object obj) |
String |
getAllowedValues()
The valid range of values for the parameter.
|
List<CacheNodeTypeSpecificValue> |
getCacheNodeTypeSpecificValues()
A list of cache node types and their corresponding values for this
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 |
getSource()
The source of the parameter value.
|
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 |
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 |
setSource(String source)
The source of the parameter value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CacheNodeTypeSpecificParameter |
withAllowedValues(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(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
A list of cache node types and their corresponding values for this
parameter.
|
CacheNodeTypeSpecificParameter |
withDataType(String dataType)
The valid data type for the parameter.
|
CacheNodeTypeSpecificParameter |
withDescription(String description)
A description of the parameter.
|
CacheNodeTypeSpecificParameter |
withIsModifiable(Boolean isModifiable)
Indicates whether (
true) or not (false) the
parameter can be modified. |
CacheNodeTypeSpecificParameter |
withMinimumEngineVersion(String minimumEngineVersion)
The earliest cache engine version to which the parameter can apply.
|
CacheNodeTypeSpecificParameter |
withParameterName(String parameterName)
The name of the parameter.
|
CacheNodeTypeSpecificParameter |
withSource(String source)
The source of the parameter value.
|
public CacheNodeTypeSpecificParameter()
public String getParameterName()
public void setParameterName(String parameterName)
parameterName - The name of the parameter.public CacheNodeTypeSpecificParameter withParameterName(String parameterName)
Returns a reference to this object so that method calls can be chained together.
parameterName - The name of the parameter.public String getDescription()
public void setDescription(String description)
description - A description of the parameter.public CacheNodeTypeSpecificParameter withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - A description of the parameter.public String getSource()
public void setSource(String source)
source - The source of the parameter value.public CacheNodeTypeSpecificParameter withSource(String source)
Returns a reference to this object so that method calls can be chained together.
source - The source of the parameter value.public String getDataType()
public void setDataType(String dataType)
dataType - The valid data type for the parameter.public CacheNodeTypeSpecificParameter withDataType(String dataType)
Returns a reference to this object so that method calls can be chained together.
dataType - The valid data type for the parameter.public String getAllowedValues()
public void setAllowedValues(String allowedValues)
allowedValues - The valid range of values for the parameter.public CacheNodeTypeSpecificParameter withAllowedValues(String allowedValues)
Returns a reference to this object so that method calls can be chained together.
allowedValues - The valid range of values for the parameter.public Boolean isModifiable()
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 setIsModifiable(Boolean isModifiable)
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 CacheNodeTypeSpecificParameter withIsModifiable(Boolean isModifiable)
true) or not (false) the
parameter can be modified. Some parameters have security or
operational implications that prevent them from being changed.
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.public Boolean getIsModifiable()
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 String getMinimumEngineVersion()
public void setMinimumEngineVersion(String minimumEngineVersion)
minimumEngineVersion - The earliest cache engine version to which the parameter can apply.public CacheNodeTypeSpecificParameter withMinimumEngineVersion(String minimumEngineVersion)
Returns a reference to this object so that method calls can be chained together.
minimumEngineVersion - The earliest cache engine version to which the parameter can apply.public List<CacheNodeTypeSpecificValue> getCacheNodeTypeSpecificValues()
public void setCacheNodeTypeSpecificValues(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
cacheNodeTypeSpecificValues - A list of cache node types and their corresponding values for this
parameter.public CacheNodeTypeSpecificParameter withCacheNodeTypeSpecificValues(CacheNodeTypeSpecificValue... cacheNodeTypeSpecificValues)
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.
Returns a reference to this object so that method calls can be chained together.
cacheNodeTypeSpecificValues - A list of cache node types and their corresponding values for this
parameter.public CacheNodeTypeSpecificParameter withCacheNodeTypeSpecificValues(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)
Returns a reference to this object so that method calls can be chained together.
cacheNodeTypeSpecificValues - A list of cache node types and their corresponding values for this
parameter.public String toString()
toString in class ObjectObject.toString()public CacheNodeTypeSpecificParameter clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.