Class DatadogHostInner

java.lang.Object
com.azure.resourcemanager.datadog.fluent.models.DatadogHostInner

public final class DatadogHostInner extends Object
The DatadogHost model.
  • Constructor Details

    • DatadogHostInner

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

    • name

      public String name()
      Get the name property: The name of the host.
      Returns:
      the name value.
    • withName

      public DatadogHostInner withName(String name)
      Set the name property: The name of the host.
      Parameters:
      name - the name value to set.
      Returns:
      the DatadogHostInner object itself.
    • aliases

      public List<String> aliases()
      Get the aliases property: The aliases for the host.
      Returns:
      the aliases value.
    • withAliases

      public DatadogHostInner withAliases(List<String> aliases)
      Set the aliases property: The aliases for the host.
      Parameters:
      aliases - the aliases value to set.
      Returns:
      the DatadogHostInner object itself.
    • apps

      public List<String> apps()
      Get the apps property: The Datadog integrations reporting metrics for the host.
      Returns:
      the apps value.
    • withApps

      public DatadogHostInner withApps(List<String> apps)
      Set the apps property: The Datadog integrations reporting metrics for the host.
      Parameters:
      apps - the apps value to set.
      Returns:
      the DatadogHostInner object itself.
    • meta

      public DatadogHostMetadata meta()
      Get the meta property: The meta property.
      Returns:
      the meta value.
    • withMeta

      public DatadogHostInner withMeta(DatadogHostMetadata meta)
      Set the meta property: The meta property.
      Parameters:
      meta - the meta value to set.
      Returns:
      the DatadogHostInner object itself.
    • validate

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