Class DatadogHostMetadata
java.lang.Object
com.azure.resourcemanager.datadog.models.DatadogHostMetadata
The DatadogHostMetadata model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the agentVersion property: The agent version.Get the installMethod property: The installMethod property.Get the logsAgent property: The logsAgent property.void
validate()
Validates the instance.withAgentVersion
(String agentVersion) Set the agentVersion property: The agent version.withInstallMethod
(DatadogInstallMethod installMethod) Set the installMethod property: The installMethod property.withLogsAgent
(DatadogLogsAgent logsAgent) Set the logsAgent property: The logsAgent property.
-
Constructor Details
-
DatadogHostMetadata
public DatadogHostMetadata()Creates an instance of DatadogHostMetadata class.
-
-
Method Details
-
agentVersion
Get the agentVersion property: The agent version.- Returns:
- the agentVersion value.
-
withAgentVersion
Set the agentVersion property: The agent version.- Parameters:
agentVersion
- the agentVersion value to set.- Returns:
- the DatadogHostMetadata object itself.
-
installMethod
Get the installMethod property: The installMethod property.- Returns:
- the installMethod value.
-
withInstallMethod
Set the installMethod property: The installMethod property.- Parameters:
installMethod
- the installMethod value to set.- Returns:
- the DatadogHostMetadata object itself.
-
logsAgent
Get the logsAgent property: The logsAgent property.- Returns:
- the logsAgent value.
-
withLogsAgent
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.
-