code: public ModifyReplicationGroupShardConfigurationRequest withReshardingConfiguration(ReshardingConfiguration... reshardingConfiguration) {
          if (this.reshardingConfiguration == null) {
              setReshardingConfiguration(new com.amazonaws.internal.SdkInternalList<ReshardingConfiguration>(reshardingConfiguration.length));
          }
          for (ReshardingConfiguration ele : reshardingConfiguration) {
              this.reshardingConfiguration.add(ele);
          }
          return this;
      }
docs: <p>
  Specifies the preferred availability zones for each node group in the cluster. If the value of
  <code>NodeGroupCount</code> is greater than the current number of node groups (shards), you can use this
  parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
  ElastiCache selects availability zones for you.
  </p>
  <p>
  You can specify this parameter only if the value of <code>NodeGroupCount</code> is greater than the current
  number of node groups (shards).
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setReshardingConfiguration(java.util.Collection)} or
  {@link #withReshardingConfiguration(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param reshardingConfiguration
  Specifies the preferred availability zones for each node group in the cluster. If the value of
  <code>NodeGroupCount</code> is greater than the current number of node groups (shards), you can use this
  parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
  ElastiCache selects availability zones for you.</p>
  <p>
  You can specify this parameter only if the value of <code>NodeGroupCount</code> is greater than the
  current number of node groups (shards).
  @return Returns a reference to this object so that method calls can be chained together.