Class RoutingMessage
java.lang.Object
com.azure.resourcemanager.iothub.models.RoutingMessage
Routing message.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the appProperties property: App properties.body()
Get the body property: Body of routing message.Get the systemProperties property: System properties.void
validate()
Validates the instance.withAppProperties
(Map<String, String> appProperties) Set the appProperties property: App properties.Set the body property: Body of routing message.withSystemProperties
(Map<String, String> systemProperties) Set the systemProperties property: System properties.
-
Constructor Details
-
RoutingMessage
public RoutingMessage()
-
-
Method Details
-
body
Get the body property: Body of routing message.- Returns:
- the body value.
-
withBody
Set the body property: Body of routing message.- Parameters:
body
- the body value to set.- Returns:
- the RoutingMessage object itself.
-
appProperties
Get the appProperties property: App properties.- Returns:
- the appProperties value.
-
withAppProperties
Set the appProperties property: App properties.- Parameters:
appProperties
- the appProperties value to set.- Returns:
- the RoutingMessage object itself.
-
systemProperties
Get the systemProperties property: System properties.- Returns:
- the systemProperties value.
-
withSystemProperties
Set the systemProperties property: System properties.- Parameters:
systemProperties
- the systemProperties value to set.- Returns:
- the RoutingMessage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-