DigitalTwinInvokeCommandRequestOptions 类
定义
General request options that are applicable, but optional, for invoke command APIs.
public class DigitalTwinInvokeCommandRequestOptions
- 继承
-
java.lang.ObjectDigitalTwinInvokeCommandRequestOptions
方法
getConnectTimeoutInSeconds() |
Sets the time (in seconds) that the service waits for the device to come online. |
getResponseTimeoutInSeconds() |
Gets the time (in seconds) that the service waits for the method invocation to return a response. |
setConnectTimeoutInSeconds(Integer connectTimeoutInSeconds) |
Sets the time (in seconds) that the service waits for the device to come online. The default is 0 seconds (which means the device must already be online) and the maximum is 300 seconds. |
setResponseTimeoutInSeconds(Integer responseTimeoutInSeconds) |
Sets the time (in seconds) that the service waits for the method invocation to return a response. The default is 30 seconds, minimum is 5 seconds, and maximum is 300 seconds. |