public DecreaseReplicationFactorRequest withNewReplicationFactor(Integer newReplicationFactor) {
        setNewReplicationFactor(newReplicationFactor);
        return this;
    }
<p>
The new number of nodes for the DAX cluster.
</p>

@param newReplicationFactor
       The new number of nodes for the DAX 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