![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.azure.management.monitor.MetadataValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-monitor Show documentation
Show all versions of azure-mgmt-monitor Show documentation
This package contains Microsoft Azure Monitor SDK.
/**
* 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.monitor;
import com.microsoft.azure.management.monitor.implementation.LocalizableStringInner;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Represents a metric metadata value.
*/
public class MetadataValue {
/**
* the name of the metadata.
*/
@JsonProperty(value = "name")
private LocalizableStringInner name;
/**
* the value of the metadata.
*/
@JsonProperty(value = "value")
private String value;
/**
* Get the name of the metadata.
*
* @return the name value
*/
public LocalizableStringInner name() {
return this.name;
}
/**
* Set the name of the metadata.
*
* @param name the name value to set
* @return the MetadataValue object itself.
*/
public MetadataValue withName(LocalizableStringInner name) {
this.name = name;
return this;
}
/**
* Get the value of the metadata.
*
* @return the value value
*/
public String value() {
return this.value;
}
/**
* Set the value of the metadata.
*
* @param value the value value to set
* @return the MetadataValue object itself.
*/
public MetadataValue withValue(String value) {
this.value = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy