Class RoutingMessage

java.lang.Object
com.azure.resourcemanager.iothub.models.RoutingMessage

public final class RoutingMessage extends Object
Routing message.
  • Constructor Details

    • RoutingMessage

      public RoutingMessage()
  • Method Details

    • body

      public String body()
      Get the body property: Body of routing message.
      Returns:
      the body value.
    • withBody

      public RoutingMessage withBody(String body)
      Set the body property: Body of routing message.
      Parameters:
      body - the body value to set.
      Returns:
      the RoutingMessage object itself.
    • appProperties

      public Map<String,String> appProperties()
      Get the appProperties property: App properties.
      Returns:
      the appProperties value.
    • withAppProperties

      public RoutingMessage withAppProperties(Map<String,String> appProperties)
      Set the appProperties property: App properties.
      Parameters:
      appProperties - the appProperties value to set.
      Returns:
      the RoutingMessage object itself.
    • systemProperties

      public Map<String,String> systemProperties()
      Get the systemProperties property: System properties.
      Returns:
      the systemProperties value.
    • withSystemProperties

      public RoutingMessage withSystemProperties(Map<String,String> systemProperties)
      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.