public DeploymentCanarySettings withPercentTraffic(Double percentTraffic) {
        setPercentTraffic(percentTraffic);
        return this;
    }
<p>
The percentage (0.0-100.0) of traffic routed to the canary deployment.
</p>

@param percentTraffic
       The percentage (0.0-100.0) of traffic routed to the canary deployment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/DeploymentCanarySettings.java