public void setBaseCanaryRunId(String baseCanaryRunId) {
        this.baseCanaryRunId = baseCanaryRunId;
    }
<p>
Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this
canary. Valid values are <code>nextrun</code> to use the screenshots from the next run after this update is made,
<code>lastrun</code> to use the screenshots from the most recent run before this update was made, or the value of
<code>Id</code> in the <a
href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_CanaryRun.html"> CanaryRun</a> from
any past run of this canary.
</p>

@param baseCanaryRunId
       Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with
       this canary. Valid values are <code>nextrun</code> to use the screenshots from the next run after this
       update is made, <code>lastrun</code> to use the screenshots from the most recent run before this update
       was made, or the value of <code>Id</code> in the <a
       href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_CanaryRun.html"> CanaryRun</a>
       from any past run of this canary.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/VisualReferenceInput.java