public static class DeviceCommandInvocationCreateRequest.Builder extends DeviceEventCreateRequest.Builder<DeviceCommandInvocationCreateRequest>
Constructor and Description |
---|
Builder(java.lang.String commandToken,
java.lang.String target) |
Modifier and Type | Method and Description |
---|---|
DeviceCommandInvocationCreateRequest |
build() |
DeviceCommandInvocationCreateRequest |
getRequest() |
DeviceCommandInvocationCreateRequest.Builder |
metadata(java.lang.String name,
java.lang.String value) |
DeviceCommandInvocationCreateRequest.Builder |
parameterValue(java.lang.String name,
java.lang.String value) |
on, trackState
public Builder(java.lang.String commandToken, java.lang.String target) throws SiteWhereException
SiteWhereException
public DeviceCommandInvocationCreateRequest.Builder parameterValue(java.lang.String name, java.lang.String value)
public DeviceCommandInvocationCreateRequest.Builder metadata(java.lang.String name, java.lang.String value)
public DeviceCommandInvocationCreateRequest getRequest()
getRequest
in class DeviceEventCreateRequest.Builder<DeviceCommandInvocationCreateRequest>
public DeviceCommandInvocationCreateRequest build()
build
in class DeviceEventCreateRequest.Builder<DeviceCommandInvocationCreateRequest>