Availability Class

  • java.lang.Object
    • com.microsoft.azure.management.network.Availability

public class Availability

Availability of the metric.

Constructor Summary

Constructor Description
Availability()

Method Summary

Modifier and Type Method and Description
java.lang.String blobDuration()

Get duration of the availability blob.

java.lang.String retention()

Get the retention of the availability.

java.lang.String timeGrain()

Get the time grain of the availability.

Availability withBlobDuration(String blobDuration)

Set duration of the availability blob.

Availability withRetention(String retention)

Set the retention of the availability.

Availability withTimeGrain(String timeGrain)

Set the time grain of the availability.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Availability

public Availability()

Method Details

blobDuration

public String blobDuration()

Get duration of the availability blob.

Returns:

the blobDuration value

retention

public String retention()

Get the retention of the availability.

Returns:

the retention value

timeGrain

public String timeGrain()

Get the time grain of the availability.

Returns:

the timeGrain value

withBlobDuration

public Availability withBlobDuration(String blobDuration)

Set duration of the availability blob.

Parameters:

blobDuration - the blobDuration value to set

Returns:

the Availability object itself.

withRetention

public Availability withRetention(String retention)

Set the retention of the availability.

Parameters:

retention - the retention value to set

Returns:

the Availability object itself.

withTimeGrain

public Availability withTimeGrain(String timeGrain)

Set the time grain of the availability.

Parameters:

timeGrain - the timeGrain value to set

Returns:

the Availability object itself.

Applies to