DatadogHostInner Class
- java.
lang. Object - com.
azure. resourcemanager. datadog. fluent. models. DatadogHostInner
- com.
Implements
public final class DatadogHostInner
implements JsonSerializable<DatadogHostInner>
The DatadogHost model.
Constructor Summary
| Constructor | Description |
|---|---|
| DatadogHostInner() |
Creates an instance of Datadog |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
aliases()
Get the aliases property: The aliases for the host installed via the Datadog agent. |
| List<String> |
apps()
Get the apps property: The Datadog integrations reporting metrics for the host. |
|
static
Datadog |
fromJson(JsonReader jsonReader)
Reads an instance of Datadog |
|
Datadog |
meta()
Get the meta property: The meta property. |
| String |
name()
Get the name property: The name of the host. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Datadog |
withAliases(List<String> aliases)
Set the aliases property: The aliases for the host installed via the Datadog agent. |
|
Datadog |
withApps(List<String> apps)
Set the apps property: The Datadog integrations reporting metrics for the host. |
|
Datadog |
withMeta(DatadogHostMetadata meta)
Set the meta property: The meta property. |
|
Datadog |
withName(String name)
Set the name property: The name of the host. |
Methods inherited from java.lang.Object
Constructor Details
DatadogHostInner
public DatadogHostInner()
Creates an instance of DatadogHostInner class.
Method Details
aliases
public List<String> aliases()
Get the aliases property: The aliases for the host installed via the Datadog agent.
Returns:
apps
public List<String> apps()
Get the apps property: The Datadog integrations reporting metrics for the host.
Returns:
fromJson
public static DatadogHostInner fromJson(JsonReader jsonReader)
Reads an instance of DatadogHostInner from the JsonReader.
Parameters:
Returns:
Throws:
meta
public DatadogHostMetadata meta()
Get the meta property: The meta property.
Returns:
name
public String name()
Get the name property: The name of the host.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAliases
public DatadogHostInner withAliases(List<String> aliases)
Set the aliases property: The aliases for the host installed via the Datadog agent.
Parameters:
Returns:
withApps
public DatadogHostInner withApps(List<String> apps)
Set the apps property: The Datadog integrations reporting metrics for the host.
Parameters:
Returns:
withMeta
public DatadogHostInner withMeta(DatadogHostMetadata meta)
Set the meta property: The meta property.
Parameters:
Returns:
withName
public DatadogHostInner withName(String name)
Set the name property: The name of the host.
Parameters:
Returns: