code: public DecreaseReplicaCountRequest withReplicasToRemove(String... replicasToRemove) {
          if (this.replicasToRemove == null) {
              setReplicasToRemove(new com.amazonaws.internal.SdkInternalList<String>(replicasToRemove.length));
          }
          for (String ele : replicasToRemove) {
              this.replicasToRemove.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the node ids to remove from the replication group or node group (shard).
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setReplicasToRemove(java.util.Collection)} or {@link #withReplicasToRemove(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param replicasToRemove
  A list of the node ids to remove from the replication group or node group (shard).
  @return Returns a reference to this object so that method calls can be chained together.