Class MonitorProperties
java.lang.Object
com.azure.resourcemanager.elastic.models.MonitorProperties
Properties specific to the monitor resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the elasticProperties property: Elastic cloud properties.Get the liftrResourceCategory property: The liftrResourceCategory property.Get the liftrResourcePreference property: The priority of the resource.Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.Get the provisioningState property: ProvisioningStateuserInfo()
Get the userInfo property: User information.void
validate()
Validates the instance.version()
Get the version property: Version of elastic of the monitor resource.withElasticProperties
(ElasticProperties elasticProperties) Set the elasticProperties property: Elastic cloud properties.withMonitoringStatus
(MonitoringStatus monitoringStatus) Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.withProvisioningState
(ProvisioningState provisioningState) Set the provisioningState property: ProvisioningStatewithUserInfo
(UserInfo userInfo) Set the userInfo property: User information.withVersion
(String version) Set the version property: Version of elastic of the monitor resource.
-
Constructor Details
-
MonitorProperties
public MonitorProperties()Creates an instance of MonitorProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: ProvisioningStateProvisioning state of the monitor resource.
- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: ProvisioningStateProvisioning state of the monitor resource.
- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the MonitorProperties object itself.
-
monitoringStatus
Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.- Returns:
- the monitoringStatus value.
-
withMonitoringStatus
Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.- Parameters:
monitoringStatus
- the monitoringStatus value to set.- Returns:
- the MonitorProperties object itself.
-
elasticProperties
Get the elasticProperties property: Elastic cloud properties.- Returns:
- the elasticProperties value.
-
withElasticProperties
Set the elasticProperties property: Elastic cloud properties.- Parameters:
elasticProperties
- the elasticProperties value to set.- Returns:
- the MonitorProperties object itself.
-
userInfo
Get the userInfo property: User information.- Returns:
- the userInfo value.
-
withUserInfo
Set the userInfo property: User information.- Parameters:
userInfo
- the userInfo value to set.- Returns:
- the MonitorProperties object itself.
-
version
Get the version property: Version of elastic of the monitor resource.- Returns:
- the version value.
-
withVersion
Set the version property: Version of elastic of the monitor resource.- Parameters:
version
- the version value to set.- Returns:
- the MonitorProperties object itself.
-
liftrResourceCategory
Get the liftrResourceCategory property: The liftrResourceCategory property.- Returns:
- the liftrResourceCategory value.
-
liftrResourcePreference
Get the liftrResourcePreference property: The priority of the resource.- Returns:
- the liftrResourcePreference value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-