public void setTimeBasedCanary(TimeBasedCanary timeBasedCanary) {
        this.timeBasedCanary = timeBasedCanary;
    }
<p>
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two
increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's
AppSpec file.
</p>

@param timeBasedCanary
       A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in
       two increments. The original and target Lambda function versions or ECS task sets are specified in the
       deployment's AppSpec file.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/TrafficRoutingConfig.java