@Generated(value="software.amazon.awssdk:codegen") public final class CacheNodeTypeSpecificParameter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CacheNodeTypeSpecificParameter.Builder,CacheNodeTypeSpecificParameter>
A parameter that has a different value for each cache node type it is applied to. For example, in a Redis cluster, a
cache.m1.large cache node type would have a larger maxmemory value than a
cache.m1.small type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CacheNodeTypeSpecificParameter.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
allowedValues()
The valid range of values for the parameter.
|
static CacheNodeTypeSpecificParameter.Builder |
builder() |
List<CacheNodeTypeSpecificValue> |
cacheNodeTypeSpecificValues()
A list of cache node types and their corresponding values for this parameter.
|
ChangeType |
changeType()
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be
applied.
|
String |
changeTypeAsString()
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be
applied.
|
String |
dataType()
The valid data type for the parameter.
|
String |
description()
A description of the parameter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCacheNodeTypeSpecificValues()
For responses, this returns true if the service returned a value for the CacheNodeTypeSpecificValues property.
|
int |
hashCode() |
Boolean |
isModifiable()
Indicates whether (
true) or not (false) the parameter can be modified. |
String |
minimumEngineVersion()
The earliest cache engine version to which the parameter can apply.
|
String |
parameterName()
The name of the parameter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CacheNodeTypeSpecificParameter.Builder> |
serializableBuilderClass() |
String |
source()
The source of the parameter value.
|
CacheNodeTypeSpecificParameter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String parameterName()
The name of the parameter.
public final String description()
A description of the parameter.
public final String source()
The source of the parameter value.
public final String dataType()
The valid data type for the parameter.
public final String allowedValues()
The valid range of values for the parameter.
public final 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 final String minimumEngineVersion()
The earliest cache engine version to which the parameter can apply.
public final boolean hasCacheNodeTypeSpecificValues()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues()
A list of cache node types and their corresponding values for this parameter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCacheNodeTypeSpecificValues() method.
public final 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.
If the service returns an enum value that is not available in the current SDK version, changeType will
return ChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
changeTypeAsString().
ChangeTypepublic final String changeTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, changeType will
return ChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
changeTypeAsString().
ChangeTypepublic CacheNodeTypeSpecificParameter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CacheNodeTypeSpecificParameter.Builder,CacheNodeTypeSpecificParameter>public static CacheNodeTypeSpecificParameter.Builder builder()
public static Class<? extends CacheNodeTypeSpecificParameter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.