public class ListAllowedNodeTypeModificationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListAllowedNodeTypeModifications operation
.
The ListAllowedNodeTypeModifications
action lists all
available node types that you can scale your Redis cluster's or
replication group's current node type up to.
When you use the ModifyCacheCluster
or
ModifyReplicationGroup
APIs to scale up your cluster or
replication group, the value of the CacheNodeType parameter
must be one of the node types returned by this action.
NOOP
Constructor and Description |
---|
ListAllowedNodeTypeModificationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAllowedNodeTypeModificationsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCacheClusterId()
The name of the cache cluster you want to scale up to a larger node
instanced type.
|
String |
getReplicationGroupId()
The name of the replication group want to scale up to a larger node
type.
|
int |
hashCode() |
void |
setCacheClusterId(String cacheClusterId)
The name of the cache cluster you want to scale up to a larger node
instanced type.
|
void |
setReplicationGroupId(String replicationGroupId)
The name of the replication group want to scale up to a larger node
type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAllowedNodeTypeModificationsRequest |
withCacheClusterId(String cacheClusterId)
The name of the cache cluster you want to scale up to a larger node
instanced type.
|
ListAllowedNodeTypeModificationsRequest |
withReplicationGroupId(String replicationGroupId)
The name of the replication group want to scale up to a larger node
type.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ListAllowedNodeTypeModificationsRequest()
public String getCacheClusterId()
Important:
You must
provide a value for either the CacheClusterId or the
ReplicationGroupId.
Important:
You must
provide a value for either the CacheClusterId or the
ReplicationGroupId.
public void setCacheClusterId(String cacheClusterId)
Important:
You must
provide a value for either the CacheClusterId or the
ReplicationGroupId.
cacheClusterId
- The name of the cache cluster you want to scale up to a larger node
instanced type. ElastiCache uses the cluster id to identify the
current node type of this cluster and from that to to create a list of
node types you can scale up to. Important:
You must
provide a value for either the CacheClusterId or the
ReplicationGroupId.
public ListAllowedNodeTypeModificationsRequest withCacheClusterId(String cacheClusterId)
Important:
You must
provide a value for either the CacheClusterId or the
ReplicationGroupId.
Returns a reference to this object so that method calls can be chained together.
cacheClusterId
- The name of the cache cluster you want to scale up to a larger node
instanced type. ElastiCache uses the cluster id to identify the
current node type of this cluster and from that to to create a list of
node types you can scale up to. Important:
You must
provide a value for either the CacheClusterId or the
ReplicationGroupId.
public String getReplicationGroupId()
Important:
You must provide a value for either the
CacheClusterId or the ReplicationGroupId.
Important:
You must provide a value for either the
CacheClusterId or the ReplicationGroupId.
public void setReplicationGroupId(String replicationGroupId)
Important:
You must provide a value for either the
CacheClusterId or the ReplicationGroupId.
replicationGroupId
- The name of the replication group want to scale up to a larger node
type. ElastiCache uses the replication group id to identify the
current node type being used by this replication group, and from that
to create a list of node types you can scale up to.
Important:
You must provide a value for either the
CacheClusterId or the ReplicationGroupId.
public ListAllowedNodeTypeModificationsRequest withReplicationGroupId(String replicationGroupId)
Important:
You must provide a value for either the
CacheClusterId or the ReplicationGroupId.
Returns a reference to this object so that method calls can be chained together.
replicationGroupId
- The name of the replication group want to scale up to a larger node
type. ElastiCache uses the replication group id to identify the
current node type being used by this replication group, and from that
to create a list of node types you can scale up to.
Important:
You must provide a value for either the
CacheClusterId or the ReplicationGroupId.
public String toString()
toString
in class Object
Object.toString()
public ListAllowedNodeTypeModificationsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.