Class OperationMetricAvailability


  • public final class OperationMetricAvailability
    extends Object
    Defines how often data for a metric becomes available.
    • Constructor Detail

      • OperationMetricAvailability

        public OperationMetricAvailability()
    • Method Detail

      • timeGrain

        public String timeGrain()
        Get the timeGrain property: The granularity for the metric.
        Returns:
        the timeGrain value.
      • withTimeGrain

        public OperationMetricAvailability withTimeGrain​(String timeGrain)
        Set the timeGrain property: The granularity for the metric.
        Parameters:
        timeGrain - the timeGrain value to set.
        Returns:
        the OperationMetricAvailability object itself.
      • blobDuration

        public String blobDuration()
        Get the blobDuration property: Blob created in the customer storage account, per hour.
        Returns:
        the blobDuration value.
      • withBlobDuration

        public OperationMetricAvailability withBlobDuration​(String blobDuration)
        Set the blobDuration property: Blob created in the customer storage account, per hour.
        Parameters:
        blobDuration - the blobDuration value to set.
        Returns:
        the OperationMetricAvailability object itself.
      • validate

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