public class DeviceTelemetryEventProperties extends Object
| Constructor and Description |
|---|
DeviceTelemetryEventProperties() |
| Modifier and Type | Method and Description |
|---|---|
Object |
body()
Get the content of the message from the device.
|
Map<String,String> |
properties()
Get application properties are user-defined strings that can be added to the message.
|
Map<String,String> |
systemProperties()
Get system properties help identify contents and source of the messages.
|
DeviceTelemetryEventProperties |
withBody(Object body)
Set the content of the message from the device.
|
DeviceTelemetryEventProperties |
withProperties(Map<String,String> properties)
Set application properties are user-defined strings that can be added to the message.
|
DeviceTelemetryEventProperties |
withSystemProperties(Map<String,String> systemProperties)
Set system properties help identify contents and source of the messages.
|
public Object body()
public DeviceTelemetryEventProperties withBody(Object body)
body - the body value to setpublic Map<String,String> properties()
public DeviceTelemetryEventProperties withProperties(Map<String,String> properties)
properties - the properties value to setpublic Map<String,String> systemProperties()
public DeviceTelemetryEventProperties withSystemProperties(Map<String,String> systemProperties)
systemProperties - the systemProperties value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/