Class DatadogMonitorResourceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.datadog.fluent.models.DatadogMonitorResourceInner

public final class DatadogMonitorResourceInner extends com.azure.core.management.Resource
The DatadogMonitorResource model.
  • Constructor Details

    • DatadogMonitorResourceInner

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

    • sku

      public ResourceSku sku()
      Get the sku property: The sku property.
      Returns:
      the sku value.
    • withSku

      Set the sku property: The sku property.
      Parameters:
      sku - the sku value to set.
      Returns:
      the DatadogMonitorResourceInner object itself.
    • properties

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

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

      public IdentityProperties identity()
      Get the identity property: The identity property.
      Returns:
      the identity value.
    • withIdentity

      public DatadogMonitorResourceInner withIdentity(IdentityProperties identity)
      Set the identity property: The identity property.
      Parameters:
      identity - the identity value to set.
      Returns:
      the DatadogMonitorResourceInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • withLocation

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

      public DatadogMonitorResourceInner 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.