DatadogHostMetadata Class

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

public final class DatadogHostMetadata

The DatadogHostMetadata model.

Constructor Summary

Constructor Description
DatadogHostMetadata()

Creates an instance of DatadogHostMetadata class.

Method Summary

Modifier and Type Method and Description
String agentVersion()

Get the agentVersion property: The agent version.

DatadogInstallMethod installMethod()

Get the installMethod property: The installMethod property.

DatadogLogsAgent logsAgent()

Get the logsAgent property: The logsAgent property.

void validate()

Validates the instance.

DatadogHostMetadata withAgentVersion(String agentVersion)

Set the agentVersion property: The agent version.

DatadogHostMetadata withInstallMethod(DatadogInstallMethod installMethod)

Set the installMethod property: The installMethod property.

DatadogHostMetadata withLogsAgent(DatadogLogsAgent logsAgent)

Set the logsAgent property: The logsAgent property.

Methods inherited from java.lang.Object

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.

installMethod

public DatadogInstallMethod installMethod()

Get the installMethod property: The installMethod property.

Returns:

the installMethod value.

logsAgent

public DatadogLogsAgent logsAgent()

Get the logsAgent property: The logsAgent property.

Returns:

the logsAgent value.

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to