public VirtualGatewayHealthCheckPolicy withTimeoutMillis(Long timeoutMillis) {
        setTimeoutMillis(timeoutMillis);
        return this;
    }
<p>
The amount of time to wait when receiving a response from the health check, in milliseconds.
</p>

@param timeoutMillis
       The amount of time to wait when receiving a response from the health check, in milliseconds.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/VirtualGatewayHealthCheckPolicy.java