public void setLegend(LegendOptions legend) {
        this.legend = legend;
    }
<p>
The legend display setup of the visual.
</p>

@param legend
       The legend display setup of the visual.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/HeatMapConfiguration.java