@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 OSS
cluster, a cache.m1.large
cache node type would have a larger maxmemory
value than a
cache.m1.small
type.
Constructor and Description |
---|
CacheNodeTypeSpecificParameter() |
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 |
getChangeType()
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be
applied.
|
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 |
setChangeType(ChangeType changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be
applied.
|
void |
setChangeType(String changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be
applied.
|
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.
|
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 |
withChangeType(ChangeType changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be
applied.
|
CacheNodeTypeSpecificParameter |
withChangeType(String changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be
applied.
|
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 void setParameterName(String parameterName)
The name of the parameter.
parameterName
- The name of the parameter.public String getParameterName()
The name of the parameter.
public CacheNodeTypeSpecificParameter withParameterName(String parameterName)
The name of the parameter.
parameterName
- The name of the parameter.public void setDescription(String description)
A description of the parameter.
description
- A description of the parameter.public String getDescription()
A description of the parameter.
public CacheNodeTypeSpecificParameter withDescription(String description)
A description of the parameter.
description
- A description of the parameter.public void setSource(String source)
The source of the parameter value.
source
- The source of the parameter value.public String getSource()
The source of the parameter value.
public CacheNodeTypeSpecificParameter withSource(String source)
The source of the parameter value.
source
- The source of the parameter value.public void setDataType(String dataType)
The valid data type for the parameter.
dataType
- The valid data type for the parameter.public String getDataType()
The valid data type for the parameter.
public CacheNodeTypeSpecificParameter withDataType(String dataType)
The valid data type for the parameter.
dataType
- The valid data type for the parameter.public void setAllowedValues(String allowedValues)
The valid range of values for the parameter.
allowedValues
- The valid range of values for the parameter.public String getAllowedValues()
The valid range of values for the parameter.
public CacheNodeTypeSpecificParameter withAllowedValues(String allowedValues)
The valid range of values for the parameter.
allowedValues
- The valid range of values for the parameter.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.
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()
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(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 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(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 String getMinimumEngineVersion()
The earliest cache engine version to which the parameter can apply.
public CacheNodeTypeSpecificParameter withMinimumEngineVersion(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 List<CacheNodeTypeSpecificValue> getCacheNodeTypeSpecificValues()
A list of cache node types and their corresponding values for this parameter.
public void setCacheNodeTypeSpecificValues(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(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 void setChangeType(String changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster.
changeType
- Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to
be applied. You can force a reboot or wait until the next maintenance window's reboot. For more
information, see Rebooting a
Cluster.ChangeType
public String getChangeType()
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster.
ChangeType
public CacheNodeTypeSpecificParameter withChangeType(String changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster.
changeType
- Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to
be applied. You can force a reboot or wait until the next maintenance window's reboot. For more
information, see Rebooting a
Cluster.ChangeType
public void setChangeType(ChangeType changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster.
changeType
- Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to
be applied. You can force a reboot or wait until the next maintenance window's reboot. For more
information, see Rebooting a
Cluster.ChangeType
public CacheNodeTypeSpecificParameter withChangeType(ChangeType changeType)
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster.
changeType
- Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to
be applied. You can force a reboot or wait until the next maintenance window's reboot. For more
information, see Rebooting a
Cluster.ChangeType
public String toString()
toString
in class Object
Object.toString()
public CacheNodeTypeSpecificParameter clone()