Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation.JsonProperty;
Availability of the metric.
/**
* Availability of the metric.
*/
public class Availability {
The time grain of the availability.
/**
* The time grain of the availability.
*/
@JsonProperty(value = "timeGrain")
private String timeGrain;
The retention of the availability.
/**
* The retention of the availability.
*/
@JsonProperty(value = "retention")
private String retention;
Duration of the availability blob.
/**
* Duration of the availability blob.
*/
@JsonProperty(value = "blobDuration")
private String blobDuration;
Get the time grain of the availability.
Returns: the timeGrain value
/**
* Get the time grain of the availability.
*
* @return the timeGrain value
*/
public String timeGrain() {
return this.timeGrain;
}
Set the time grain of the availability.
Params: - timeGrain – the timeGrain value to set
Returns: the Availability object itself.
/**
* Set the time grain of the availability.
*
* @param timeGrain the timeGrain value to set
* @return the Availability object itself.
*/
public Availability withTimeGrain(String timeGrain) {
this.timeGrain = timeGrain;
return this;
}
Get the retention of the availability.
Returns: the retention value
/**
* Get the retention of the availability.
*
* @return the retention value
*/
public String retention() {
return this.retention;
}
Set the retention of the availability.
Params: - retention – the retention value to set
Returns: the Availability object itself.
/**
* Set the retention of the availability.
*
* @param retention the retention value to set
* @return the Availability object itself.
*/
public Availability withRetention(String retention) {
this.retention = retention;
return this;
}
Get duration of the availability blob.
Returns: the blobDuration value
/**
* Get duration of the availability blob.
*
* @return the blobDuration value
*/
public String blobDuration() {
return this.blobDuration;
}
Set duration of the availability blob.
Params: - blobDuration – the blobDuration value to set
Returns: the Availability object itself.
/**
* Set duration of the availability blob.
*
* @param blobDuration the blobDuration value to set
* @return the Availability object itself.
*/
public Availability withBlobDuration(String blobDuration) {
this.blobDuration = blobDuration;
return this;
}
}