BaselineMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. BaselineMetadata
- com.
Implements
public final class BaselineMetadata
implements JsonSerializable<BaselineMetadata>
Represents a baseline metadata value.
Constructor Summary
Constructor | Description |
---|---|
BaselineMetadata() |
Creates an instance of Baseline |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Baseline |
fromJson(JsonReader jsonReader)
Reads an instance of Baseline |
String |
name()
Get the name property: Name of the baseline metadata. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Value of the baseline metadata. |
Baseline |
withName(String name)
Set the name property: Name of the baseline metadata. |
Baseline |
withValue(String value)
Set the value property: Value of the baseline metadata. |
Methods inherited from java.lang.Object
Constructor Details
BaselineMetadata
public BaselineMetadata()
Creates an instance of BaselineMetadata class.
Method Details
fromJson
public static BaselineMetadata fromJson(JsonReader jsonReader)
Reads an instance of BaselineMetadata from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the baseline metadata.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of the baseline metadata.
Returns:
withName
public BaselineMetadata withName(String name)
Set the name property: Name of the baseline metadata.
Parameters:
Returns:
withValue
public BaselineMetadata withValue(String value)
Set the value property: Value of the baseline metadata.
Parameters:
Returns:
Applies to
Azure SDK for Java