public ListAllowedNodeTypeModificationsRequest withReplicationGroupId(String replicationGroupId) {
        setReplicationGroupId(replicationGroupId);
        return this;
    }
<p>
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.
</p>
<important>
<p>
You must provide a value for either the <code>CacheClusterId</code> or the <code>ReplicationGroupId</code>.
</p>
</important>

@param 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.</p> <important>
       <p>
       You must provide a value for either the <code>CacheClusterId</code> or the <code>ReplicationGroupId</code>
       .
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ListAllowedNodeTypeModificationsRequest.java