public DeleteCanaryRequest withDeleteLambda(Boolean deleteLambda) {
        setDeleteLambda(deleteLambda);
        return this;
    }
<p>
Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.
</p>
<p>
Type: Boolean
</p>

@param deleteLambda
       Specifies whether to also delete the Lambda functions and layers used by this canary. The default is
       false.</p>
       <p>
       Type: Boolean
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/DeleteCanaryRequest.java