Class EdgeUsageDataCollectionPolicy

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

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

    • EdgeUsageDataCollectionPolicy

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

    • dataCollectionFrequency

      public String dataCollectionFrequency()
      Get the dataCollectionFrequency property: Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
      Returns:
      the dataCollectionFrequency value.
    • withDataCollectionFrequency

      public EdgeUsageDataCollectionPolicy withDataCollectionFrequency(String dataCollectionFrequency)
      Set the dataCollectionFrequency property: Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
      Parameters:
      dataCollectionFrequency - the dataCollectionFrequency value to set.
      Returns:
      the EdgeUsageDataCollectionPolicy object itself.
    • dataReportingFrequency

      public String dataReportingFrequency()
      Get the dataReportingFrequency property: Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
      Returns:
      the dataReportingFrequency value.
    • withDataReportingFrequency

      public EdgeUsageDataCollectionPolicy withDataReportingFrequency(String dataReportingFrequency)
      Set the dataReportingFrequency property: Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
      Parameters:
      dataReportingFrequency - the dataReportingFrequency value to set.
      Returns:
      the EdgeUsageDataCollectionPolicy object itself.
    • maxAllowedUnreportedUsageDuration

      public String maxAllowedUnreportedUsageDuration()
      Get the maxAllowedUnreportedUsageDuration property: Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
      Returns:
      the maxAllowedUnreportedUsageDuration value.
    • withMaxAllowedUnreportedUsageDuration

      public EdgeUsageDataCollectionPolicy withMaxAllowedUnreportedUsageDuration(String maxAllowedUnreportedUsageDuration)
      Set the maxAllowedUnreportedUsageDuration property: Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
      Parameters:
      maxAllowedUnreportedUsageDuration - the maxAllowedUnreportedUsageDuration value to set.
      Returns:
      the EdgeUsageDataCollectionPolicy object itself.
    • eventHubDetails

      public EdgeUsageDataEventHub eventHubDetails()
      Get the eventHubDetails property: Details of Event Hub where the usage will be reported.
      Returns:
      the eventHubDetails value.
    • withEventHubDetails

      public EdgeUsageDataCollectionPolicy withEventHubDetails(EdgeUsageDataEventHub eventHubDetails)
      Set the eventHubDetails property: Details of Event Hub where the usage will be reported.
      Parameters:
      eventHubDetails - the eventHubDetails value to set.
      Returns:
      the EdgeUsageDataCollectionPolicy object itself.
    • validate

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