com.azure.resourcemanager.cosmos.models.MetricAvailability Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-cosmos Show documentation
Show all versions of azure-resourcemanager-cosmos Show documentation
This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.cosmos.models;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The availability of the metric.
*/
@Immutable
public final class MetricAvailability {
/*
* The time grain to be used to summarize the metric values.
*/
@JsonProperty(value = "timeGrain", access = JsonProperty.Access.WRITE_ONLY)
private String timeGrain;
/*
* The retention for the metric values.
*/
@JsonProperty(value = "retention", access = JsonProperty.Access.WRITE_ONLY)
private String retention;
/**
* Creates an instance of MetricAvailability class.
*/
public MetricAvailability() {
}
/**
* Get the timeGrain property: The time grain to be used to summarize the metric values.
*
* @return the timeGrain value.
*/
public String timeGrain() {
return this.timeGrain;
}
/**
* Get the retention property: The retention for the metric values.
*
* @return the retention value.
*/
public String retention() {
return this.retention;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy