Package com.datadog.api.client.v1.model
Class Host
java.lang.Object
com.datadog.api.client.v1.model.Host
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Host
extends Object
Object representing a host.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAliasesItem(String aliasesItem) addAppsItem(String appsItem) addSourcesItem(String sourcesItem) booleanReturn true if this Host object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Host aliases collected by Datadog.getApps()The Datadog integrations reporting metrics for the host.AWS name of your host.The host name.getId()The host ID.If a host is muted or unmuted.Last time the host reported a metric data point.getMeta()Metadata associated with your host.Host Metrics collected.Timeout of the mute applied to your host.org.openapitools.jackson.nullable.JsonNullable<Long>getName()The host name.Source or cloud provider associated with your host.List of tags for each source (AWS, Datadog Agent, Chef..).getUp()Displays UP when the expected metrics are received and displays???if no metrics are received.inthashCode()lastReportedTime(Long lastReportedTime) metrics(HostMetrics metrics) muteTimeout(Long muteTimeout) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putTagsBySourceItem(String key, List<String> tagsBySourceItem) voidsetAliases(List<String> aliases) voidvoidsetAwsName(String awsName) voidsetHostName(String hostName) voidvoidsetIsMuted(Boolean isMuted) voidsetLastReportedTime(Long lastReportedTime) voidvoidsetMetrics(HostMetrics metrics) voidsetMuteTimeout(Long muteTimeout) voidsetMuteTimeout_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> muteTimeout) voidvoidsetSources(List<String> sources) voidsetTagsBySource(Map<String, List<String>> tagsBySource) voidtagsBySource(Map<String, List<String>> tagsBySource) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALIASES
- See Also:
-
JSON_PROPERTY_APPS
- See Also:
-
JSON_PROPERTY_AWS_NAME
- See Also:
-
JSON_PROPERTY_HOST_NAME
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IS_MUTED
- See Also:
-
JSON_PROPERTY_LAST_REPORTED_TIME
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
JSON_PROPERTY_MUTE_TIMEOUT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_TAGS_BY_SOURCE
- See Also:
-
JSON_PROPERTY_UP
- See Also:
-
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
aliases
-
addAliasesItem
-
getAliases
Host aliases collected by Datadog.- Returns:
- aliases
-
setAliases
-
apps
-
addAppsItem
-
getApps
The Datadog integrations reporting metrics for the host.- Returns:
- apps
-
setApps
-
awsName
-
getAwsName
AWS name of your host.- Returns:
- awsName
-
setAwsName
-
hostName
-
getHostName
The host name.- Returns:
- hostName
-
setHostName
-
id
-
getId
The host ID.- Returns:
- id
-
setId
-
isMuted
-
getIsMuted
If a host is muted or unmuted.- Returns:
- isMuted
-
setIsMuted
-
lastReportedTime
-
getLastReportedTime
Last time the host reported a metric data point.- Returns:
- lastReportedTime
-
setLastReportedTime
-
meta
-
getMeta
Metadata associated with your host.- Returns:
- meta
-
setMeta
-
metrics
-
getMetrics
Host Metrics collected.- Returns:
- metrics
-
setMetrics
-
muteTimeout
-
getMuteTimeout
Timeout of the mute applied to your host.- Returns:
- muteTimeout
-
getMuteTimeout_JsonNullable
-
setMuteTimeout_JsonNullable
public void setMuteTimeout_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> muteTimeout) -
setMuteTimeout
-
name
-
getName
The host name.- Returns:
- name
-
setName
-
sources
-
addSourcesItem
-
getSources
Source or cloud provider associated with your host.- Returns:
- sources
-
setSources
-
tagsBySource
-
putTagsBySourceItem
-
getTagsBySource
List of tags for each source (AWS, Datadog Agent, Chef..).- Returns:
- tagsBySource
-
setTagsBySource
-
up
-
getUp
Displays UP when the expected metrics are received and displays???if no metrics are received.- Returns:
- up
-
setUp
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- Host
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this Host object is equal to o. -
hashCode
public int hashCode() -
toString
-