Class DatadogHostMetadata

java.lang.Object
com.azure.resourcemanager.datadog.models.DatadogHostMetadata

public final class DatadogHostMetadata extends Object
The DatadogHostMetadata model.
  • Constructor Details

    • DatadogHostMetadata

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

    • agentVersion

      public String agentVersion()
      Get the agentVersion property: The agent version.
      Returns:
      the agentVersion value.
    • withAgentVersion

      public DatadogHostMetadata withAgentVersion(String agentVersion)
      Set the agentVersion property: The agent version.
      Parameters:
      agentVersion - the agentVersion value to set.
      Returns:
      the DatadogHostMetadata object itself.
    • installMethod

      public DatadogInstallMethod installMethod()
      Get the installMethod property: The installMethod property.
      Returns:
      the installMethod value.
    • withInstallMethod

      public DatadogHostMetadata withInstallMethod(DatadogInstallMethod installMethod)
      Set the installMethod property: The installMethod property.
      Parameters:
      installMethod - the installMethod value to set.
      Returns:
      the DatadogHostMetadata object itself.
    • logsAgent

      public DatadogLogsAgent logsAgent()
      Get the logsAgent property: The logsAgent property.
      Returns:
      the logsAgent value.
    • withLogsAgent

      public DatadogHostMetadata withLogsAgent(DatadogLogsAgent logsAgent)
      Set the logsAgent property: The logsAgent property.
      Parameters:
      logsAgent - the logsAgent value to set.
      Returns:
      the DatadogHostMetadata object itself.
    • validate

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