Class Availability
- java.lang.Object
-
- com.azure.resourcemanager.network.models.Availability
-
public final class Availability extends Object
Availability of the metric.
-
-
Constructor Summary
Constructors Constructor Description Availability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringblobDuration()Get the blobDuration property: Duration of the availability blob.Stringretention()Get the retention property: The retention of the availability.StringtimeGrain()Get the timeGrain property: The time grain of the availability.voidvalidate()Validates the instance.AvailabilitywithBlobDuration(String blobDuration)Set the blobDuration property: Duration of the availability blob.AvailabilitywithRetention(String retention)Set the retention property: The retention of the availability.AvailabilitywithTimeGrain(String timeGrain)Set the timeGrain property: The time grain of the availability.
-
-
-
Method Detail
-
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.
-
-