Class EdgeUsageDataEventHub

java.lang.Object
com.azure.resourcemanager.mediaservices.models.EdgeUsageDataEventHub

public final class EdgeUsageDataEventHub extends Object
The EdgeUsageDataEventHub model.
  • Constructor Details

    • EdgeUsageDataEventHub

      public EdgeUsageDataEventHub()
      Creates an instance of EdgeUsageDataEventHub class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the Event Hub where usage will be reported.
      Returns:
      the name value.
    • withName

      public EdgeUsageDataEventHub withName(String name)
      Set the name property: Name of the Event Hub where usage will be reported.
      Parameters:
      name - the name value to set.
      Returns:
      the EdgeUsageDataEventHub object itself.
    • namespace

      public String namespace()
      Get the namespace property: Namespace of the Event Hub where usage will be reported.
      Returns:
      the namespace value.
    • withNamespace

      public EdgeUsageDataEventHub withNamespace(String namespace)
      Set the namespace property: Namespace of the Event Hub where usage will be reported.
      Parameters:
      namespace - the namespace value to set.
      Returns:
      the EdgeUsageDataEventHub object itself.
    • token

      public String token()
      Get the token property: SAS token needed to interact with Event Hub.
      Returns:
      the token value.
    • withToken

      public EdgeUsageDataEventHub withToken(String token)
      Set the token property: SAS token needed to interact with Event Hub.
      Parameters:
      token - the token value to set.
      Returns:
      the EdgeUsageDataEventHub object itself.
    • validate

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