Class TestAllRoutesInput

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

public final class TestAllRoutesInput extends Object
Input for testing all routes.
  • Constructor Details

    • TestAllRoutesInput

      public TestAllRoutesInput()
  • Method Details

    • routingSource

      public RoutingSource routingSource()
      Get the routingSource property: Routing source.
      Returns:
      the routingSource value.
    • withRoutingSource

      public TestAllRoutesInput withRoutingSource(RoutingSource routingSource)
      Set the routingSource property: Routing source.
      Parameters:
      routingSource - the routingSource value to set.
      Returns:
      the TestAllRoutesInput object itself.
    • message

      public RoutingMessage message()
      Get the message property: Routing message.
      Returns:
      the message value.
    • withMessage

      public TestAllRoutesInput withMessage(RoutingMessage message)
      Set the message property: Routing message.
      Parameters:
      message - the message value to set.
      Returns:
      the TestAllRoutesInput object itself.
    • twin

      public RoutingTwin twin()
      Get the twin property: Routing Twin Reference.
      Returns:
      the twin value.
    • withTwin

      public TestAllRoutesInput withTwin(RoutingTwin twin)
      Set the twin property: Routing Twin Reference.
      Parameters:
      twin - the twin value to set.
      Returns:
      the TestAllRoutesInput object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.