code: public ListAllowedNodeTypeModificationsResult withScaleUpModifications(String... scaleUpModifications) {
          if (this.scaleUpModifications == null) {
              setScaleUpModifications(new com.amazonaws.internal.SdkInternalList<String>(scaleUpModifications.length));
          }
          for (String ele : scaleUpModifications) {
              this.scaleUpModifications.add(ele);
          }
          return this;
      }
docs: <p>
  A string list, each element of which specifies a cache node type which you can use to scale your cluster or
  replication group.
  </p>
  <p>
  When scaling up a Redis cluster or replication group using <code>ModifyCacheCluster</code> or
  <code>ModifyReplicationGroup</code>, use a value from this list for the <code>CacheNodeType</code> parameter.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setScaleUpModifications(java.util.Collection)} or {@link #withScaleUpModifications(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param scaleUpModifications
  A string list, each element of which specifies a cache node type which you can use to scale your cluster
  or replication group.</p>
  <p>
  When scaling up a Redis cluster or replication group using <code>ModifyCacheCluster</code> or
  <code>ModifyReplicationGroup</code>, use a value from this list for the <code>CacheNodeType</code>
  parameter.
  @return Returns a reference to this object so that method calls can be chained together.