Class ElasticMonitorResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.elastic.fluent.models.ElasticMonitorResourceInner
public final class ElasticMonitorResourceInner
extends com.azure.core.management.Resource
Monitor resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ElasticMonitorResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Identity properties of the monitor resource.Get the properties property: Properties of the monitor resource.sku()
Get the sku property: SKU of the monitor resource.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.withIdentity
(IdentityProperties identity) Set the identity property: Identity properties of the monitor resource.withLocation
(String location) withProperties
(MonitorProperties properties) Set the properties property: Properties of the monitor resource.withSku
(ResourceSku sku) Set the sku property: SKU of the monitor resource.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ElasticMonitorResourceInner
public ElasticMonitorResourceInner()Creates an instance of ElasticMonitorResourceInner class.
-
-
Method Details
-
sku
Get the sku property: SKU of the monitor resource.- Returns:
- the sku value.
-
withSku
Set the sku property: SKU of the monitor resource.- Parameters:
sku
- the sku value to set.- Returns:
- the ElasticMonitorResourceInner object itself.
-
properties
Get the properties property: Properties of the monitor resource.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties of the monitor resource.- Parameters:
properties
- the properties value to set.- Returns:
- the ElasticMonitorResourceInner object itself.
-
identity
Get the identity property: Identity properties of the monitor resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity properties of the monitor resource.- Parameters:
identity
- the identity value to set.- Returns:
- the ElasticMonitorResourceInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-