public DecreaseReplicationFactorRequest withNodeIdsToRemove(String... nodeIdsToRemove) {
        if (this.nodeIdsToRemove == null) {
            setNodeIdsToRemove(new java.util.ArrayList<String>(nodeIdsToRemove.length));
        }
        for (String ele : nodeIdsToRemove) {
            this.nodeIdsToRemove.add(ele);
        }
        return this;
    }
<p>
The unique identifiers of the nodes to be removed from the cluster.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNodeIdsToRemove(java.util.Collection)} or {@link #withNodeIdsToRemove(java.util.Collection)} if you
want to override the existing values.
</p>

@param nodeIdsToRemove
       The unique identifiers of the nodes to be removed from the cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dax/src/main/java/com/amazonaws/services/dax/model/DecreaseReplicationFactorRequest.java