public Cluster withUnhealthyNodeReplacement(Boolean unhealthyNodeReplacement) {
        setUnhealthyNodeReplacement(unhealthyNodeReplacement);
        return this;
    }
<p>
Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the
cluster.
</p>

@param unhealthyNodeReplacement
       Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within
       the cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/Cluster.java