Class IotHubDescriptionInner


  • public final class IotHubDescriptionInner
    extends com.azure.core.management.Resource
    The description of the IoT hub.
    • Constructor Detail

      • IotHubDescriptionInner

        public IotHubDescriptionInner()
    • Method Detail

      • etag

        public String etag()
        Get the etag property: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
        Returns:
        the etag value.
      • withEtag

        public IotHubDescriptionInner withEtag​(String etag)
        Set the etag property: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
        Parameters:
        etag - the etag value to set.
        Returns:
        the IotHubDescriptionInner object itself.
      • properties

        public IotHubProperties properties()
        Get the properties property: IotHub properties.
        Returns:
        the properties value.
      • withProperties

        public IotHubDescriptionInner withProperties​(IotHubProperties properties)
        Set the properties property: IotHub properties.
        Parameters:
        properties - the properties value to set.
        Returns:
        the IotHubDescriptionInner object itself.
      • sku

        public IotHubSkuInfo sku()
        Get the sku property: IotHub SKU info.
        Returns:
        the sku value.
      • withSku

        public IotHubDescriptionInner withSku​(IotHubSkuInfo sku)
        Set the sku property: IotHub SKU info.
        Parameters:
        sku - the sku value to set.
        Returns:
        the IotHubDescriptionInner object itself.
      • identity

        public ArmIdentity identity()
        Get the identity property: The managed identities for the IotHub.
        Returns:
        the identity value.
      • withIdentity

        public IotHubDescriptionInner withIdentity​(ArmIdentity identity)
        Set the identity property: The managed identities for the IotHub.
        Parameters:
        identity - the identity value to set.
        Returns:
        the IotHubDescriptionInner object itself.
      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: The system meta data relating to this resource.
        Returns:
        the systemData value.
      • withLocation

        public IotHubDescriptionInner withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • validate

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