Class Availability
java.lang.Object
com.azure.resourcemanager.network.models.Availability
Availability of the metric.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the blobDuration property: Duration of the availability blob.Get the retention property: The retention of the availability.Get the timeGrain property: The time grain of the availability.voidvalidate()Validates the instance.withBlobDuration(String blobDuration) Set the blobDuration property: Duration of the availability blob.withRetention(String retention) Set the retention property: The retention of the availability.withTimeGrain(String timeGrain) Set the timeGrain property: The time grain of the availability.
-
Constructor Details
-
Availability
public Availability()Creates an instance of Availability class.
-
-
Method Details
-
timeGrain
Get the timeGrain property: The time grain of the availability.- Returns:
- the timeGrain value.
-
withTimeGrain
Set the timeGrain property: The time grain of the availability.- Parameters:
timeGrain- the timeGrain value to set.- Returns:
- the Availability object itself.
-
retention
Get the retention property: The retention of the availability.- Returns:
- the retention value.
-
withRetention
Set the retention property: The retention of the availability.- Parameters:
retention- the retention value to set.- Returns:
- the Availability object itself.
-
blobDuration
Get the blobDuration property: Duration of the availability blob.- Returns:
- the blobDuration value.
-
withBlobDuration
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.
-