Class IotHub


  • public final class IotHub
    extends Object
    The IoT Hub details.
    • Constructor Detail

      • IotHub

        public IotHub()
    • Method Detail

      • id

        public String id()
        Get the id property: The IoT Hub resource identifier.
        Returns:
        the id value.
      • withId

        public IotHub withId​(String id)
        Set the id property: The IoT Hub resource identifier.
        Parameters:
        id - the id value to set.
        Returns:
        the IotHub object itself.
      • identity

        public ResourceIdentity identity()
        Get the identity property: The IoT Hub identity.
        Returns:
        the identity value.
      • withIdentity

        public IotHub withIdentity​(ResourceIdentity identity)
        Set the identity property: The IoT Hub identity.
        Parameters:
        identity - the identity value to set.
        Returns:
        the IotHub object itself.
      • status

        public String status()
        Get the status property: The current status of the Iot Hub mapping.
        Returns:
        the status value.
      • validate

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