public static class DeviceAlertCreateRequest.Builder extends DeviceEventCreateRequest.Builder<DeviceAlertCreateRequest>
Constructor and Description |
---|
Builder(java.lang.String type,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
DeviceAlertCreateRequest.Builder |
asSystemAlert() |
DeviceAlertCreateRequest |
build() |
DeviceAlertCreateRequest.Builder |
critical() |
DeviceAlertCreateRequest.Builder |
error() |
DeviceAlertCreateRequest |
getRequest() |
DeviceAlertCreateRequest.Builder |
metadata(java.lang.String name,
java.lang.String value) |
DeviceAlertCreateRequest.Builder |
warning() |
on, trackState
public DeviceAlertCreateRequest.Builder asSystemAlert()
public DeviceAlertCreateRequest.Builder warning()
public DeviceAlertCreateRequest.Builder error()
public DeviceAlertCreateRequest.Builder critical()
public DeviceAlertCreateRequest.Builder metadata(java.lang.String name, java.lang.String value)
public DeviceAlertCreateRequest getRequest()
getRequest
in class DeviceEventCreateRequest.Builder<DeviceAlertCreateRequest>
public DeviceAlertCreateRequest build()
build
in class DeviceEventCreateRequest.Builder<DeviceAlertCreateRequest>