public void setCanary(Canary canary) {
        this.canary = canary;
    }
<p>
A structure that contains the full information about the canary.
</p>

@param canary
       A structure that contains the full information about the canary.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/GetCanaryResult.java