public static class DeviceCommandCreateRequest.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(IDeviceCommand api) |
Builder(java.lang.String token,
java.lang.String namespace,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
DeviceCommandCreateRequest |
build() |
DeviceCommandCreateRequest.Builder |
metadata(java.lang.String name,
java.lang.String value) |
DeviceCommandCreateRequest.Builder |
withBooleanParameter(java.lang.String name,
boolean required) |
DeviceCommandCreateRequest.Builder |
withDescription(java.lang.String description) |
DeviceCommandCreateRequest.Builder |
withDoubleParameter(java.lang.String name,
boolean required) |
DeviceCommandCreateRequest.Builder |
withIntParameter(java.lang.String name,
boolean required) |
DeviceCommandCreateRequest.Builder |
withParameter(java.lang.String name,
ParameterType type,
boolean required) |
DeviceCommandCreateRequest.Builder |
withStringParameter(java.lang.String name,
boolean required) |
public Builder(IDeviceCommand api)
public Builder(java.lang.String token, java.lang.String namespace, java.lang.String name)
public DeviceCommandCreateRequest.Builder withDescription(java.lang.String description)
public DeviceCommandCreateRequest.Builder withStringParameter(java.lang.String name, boolean required)
public DeviceCommandCreateRequest.Builder withIntParameter(java.lang.String name, boolean required)
public DeviceCommandCreateRequest.Builder withDoubleParameter(java.lang.String name, boolean required)
public DeviceCommandCreateRequest.Builder withBooleanParameter(java.lang.String name, boolean required)
public DeviceCommandCreateRequest.Builder withParameter(java.lang.String name, ParameterType type, boolean required)
public DeviceCommandCreateRequest.Builder metadata(java.lang.String name, java.lang.String value)
public DeviceCommandCreateRequest build()