Class Availability

java.lang.Object
com.azure.resourcemanager.network.models.Availability

public final class Availability extends Object
Availability of the metric.
  • Constructor Details

    • Availability

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

    • timeGrain

      public String timeGrain()
      Get the timeGrain property: The time grain of the availability.
      Returns:
      the timeGrain value.
    • withTimeGrain

      public Availability withTimeGrain(String timeGrain)
      Set the timeGrain property: The time grain of the availability.
      Parameters:
      timeGrain - the timeGrain value to set.
      Returns:
      the Availability object itself.
    • retention

      public String retention()
      Get the retention property: The retention of the availability.
      Returns:
      the retention value.
    • withRetention

      public Availability withRetention(String retention)
      Set the retention property: The retention of the availability.
      Parameters:
      retention - the retention value to set.
      Returns:
      the Availability object itself.
    • blobDuration

      public String blobDuration()
      Get the blobDuration property: Duration of the availability blob.
      Returns:
      the blobDuration value.
    • withBlobDuration

      public Availability withBlobDuration(String blobDuration)
      Set the blobDuration property: Duration of the availability blob.
      Parameters:
      blobDuration - the blobDuration value to set.
      Returns:
      the Availability object itself.
    • validate

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