@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Host extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALIASES |
static String |
JSON_PROPERTY_APPS |
static String |
JSON_PROPERTY_AWS_NAME |
static String |
JSON_PROPERTY_HOST_NAME |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_IS_MUTED |
static String |
JSON_PROPERTY_LAST_REPORTED_TIME |
static String |
JSON_PROPERTY_META |
static String |
JSON_PROPERTY_METRICS |
static String |
JSON_PROPERTY_MUTE_TIMEOUT |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_SOURCES |
static String |
JSON_PROPERTY_TAGS_BY_SOURCE |
static String |
JSON_PROPERTY_UP |
boolean |
unparsed |
| Constructor and Description |
|---|
Host() |
| Modifier and Type | Method and Description |
|---|---|
Host |
addAliasesItem(String aliasesItem) |
Host |
addAppsItem(String appsItem) |
Host |
addSourcesItem(String sourcesItem) |
Host |
aliases(List<String> aliases) |
Host |
apps(List<String> apps) |
Host |
awsName(String awsName) |
boolean |
equals(Object o)
Return true if this Host object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<String> |
getAliases()
Host aliases collected by Datadog.
|
List<String> |
getApps()
The Datadog integrations reporting metrics for the host.
|
String |
getAwsName()
AWS name of your host.
|
String |
getHostName()
The host name.
|
Long |
getId()
The host ID.
|
Boolean |
getIsMuted()
If a host is muted or unmuted.
|
Long |
getLastReportedTime()
Last time the host reported a metric data point.
|
HostMeta |
getMeta()
Metadata associated with your host.
|
HostMetrics |
getMetrics()
Host Metrics collected.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getMuteTimeout_JsonNullable() |
Long |
getMuteTimeout()
Timeout of the mute applied to your host.
|
String |
getName()
The host name.
|
List<String> |
getSources()
Source or cloud provider associated with your host.
|
Map<String,List<String>> |
getTagsBySource()
List of tags for each source (AWS, Datadog Agent, Chef..).
|
Boolean |
getUp()
Displays UP when the expected metrics are received and displays
??? if no metrics
are received. |
int |
hashCode() |
Host |
hostName(String hostName) |
Host |
id(Long id) |
Host |
isMuted(Boolean isMuted) |
Host |
lastReportedTime(Long lastReportedTime) |
Host |
meta(HostMeta meta) |
Host |
metrics(HostMetrics metrics) |
Host |
muteTimeout(Long muteTimeout) |
Host |
name(String name) |
Host |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
Host |
putTagsBySourceItem(String key,
List<String> tagsBySourceItem) |
void |
setAliases(List<String> aliases) |
void |
setApps(List<String> apps) |
void |
setAwsName(String awsName) |
void |
setHostName(String hostName) |
void |
setId(Long id) |
void |
setIsMuted(Boolean isMuted) |
void |
setLastReportedTime(Long lastReportedTime) |
void |
setMeta(HostMeta meta) |
void |
setMetrics(HostMetrics metrics) |
void |
setMuteTimeout_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> muteTimeout) |
void |
setMuteTimeout(Long muteTimeout) |
void |
setName(String name) |
void |
setSources(List<String> sources) |
void |
setTagsBySource(Map<String,List<String>> tagsBySource) |
void |
setUp(Boolean up) |
Host |
sources(List<String> sources) |
Host |
tagsBySource(Map<String,List<String>> tagsBySource) |
String |
toString() |
Host |
up(Boolean up) |
public boolean unparsed
public static final String JSON_PROPERTY_ALIASES
public static final String JSON_PROPERTY_APPS
public static final String JSON_PROPERTY_AWS_NAME
public static final String JSON_PROPERTY_HOST_NAME
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_IS_MUTED
public static final String JSON_PROPERTY_LAST_REPORTED_TIME
public static final String JSON_PROPERTY_META
public static final String JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_MUTE_TIMEOUT
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_SOURCES
public static final String JSON_PROPERTY_TAGS_BY_SOURCE
public static final String JSON_PROPERTY_UP
@Nullable public List<String> getAliases()
@Nullable public List<String> getApps()
@Nullable public String getAwsName()
public void setAwsName(String awsName)
@Nullable public String getHostName()
public void setHostName(String hostName)
@Nullable public Long getId()
public void setId(Long id)
@Nullable public Boolean getIsMuted()
public void setIsMuted(Boolean isMuted)
@Nullable public Long getLastReportedTime()
public void setLastReportedTime(Long lastReportedTime)
@Nullable public HostMeta getMeta()
public void setMeta(HostMeta meta)
public Host metrics(HostMetrics metrics)
@Nullable public HostMetrics getMetrics()
public void setMetrics(HostMetrics metrics)
@Nullable public Long getMuteTimeout()
public org.openapitools.jackson.nullable.JsonNullable<Long> getMuteTimeout_JsonNullable()
public void setMuteTimeout_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> muteTimeout)
public void setMuteTimeout(Long muteTimeout)
@Nullable public String getName()
public void setName(String name)
@Nullable public List<String> getSources()
@Nullable public Map<String,List<String>> getTagsBySource()
@Nullable public Boolean getUp()
??? if no metrics
are received.public void setUp(Boolean up)
public Host putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.