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 Details

    • ElasticMonitorResourceInner

      public ElasticMonitorResourceInner()
      Creates an instance of ElasticMonitorResourceInner class.
  • Method Details

    • sku

      public ResourceSku 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

      public MonitorProperties properties()
      Get the properties property: Properties of the monitor resource.
      Returns:
      the properties value.
    • withProperties

      public ElasticMonitorResourceInner withProperties(MonitorProperties properties)
      Set the properties property: Properties of the monitor resource.
      Parameters:
      properties - the properties value to set.
      Returns:
      the ElasticMonitorResourceInner object itself.
    • identity

      public IdentityProperties identity()
      Get the identity property: Identity properties of the monitor resource.
      Returns:
      the identity value.
    • withIdentity

      public ElasticMonitorResourceInner withIdentity(IdentityProperties identity)
      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

      public ElasticMonitorResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ElasticMonitorResourceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.