Class ElasticMonitorUpgrade
java.lang.Object
com.azure.resourcemanager.elastic.models.ElasticMonitorUpgrade
Upgrade elastic monitor version.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.version()
Get the version property: Version to which the elastic monitor should be upgraded to.withVersion
(String version) Set the version property: Version to which the elastic monitor should be upgraded to.
-
Constructor Details
-
ElasticMonitorUpgrade
public ElasticMonitorUpgrade()Creates an instance of ElasticMonitorUpgrade class.
-
-
Method Details
-
version
Get the version property: Version to which the elastic monitor should be upgraded to.- Returns:
- the version value.
-
withVersion
Set the version property: Version to which the elastic monitor should be upgraded to.- Parameters:
version
- the version value to set.- Returns:
- the ElasticMonitorUpgrade object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-