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 Details

  • Constructor Details

    • Host

      public Host()
  • Method Details

    • aliases

      public Host aliases(List<String> aliases)
    • addAliasesItem

      public Host addAliasesItem(String aliasesItem)
    • getAliases

      @Nullable public List<String> getAliases()
      Host aliases collected by Datadog.
      Returns:
      aliases
    • setAliases

      public void setAliases(List<String> aliases)
    • apps

      public Host apps(List<String> apps)
    • addAppsItem

      public Host addAppsItem(String appsItem)
    • getApps

      @Nullable public List<String> getApps()
      The Datadog integrations reporting metrics for the host.
      Returns:
      apps
    • setApps

      public void setApps(List<String> apps)
    • awsName

      public Host awsName(String awsName)
    • getAwsName

      @Nullable public String getAwsName()
      AWS name of your host.
      Returns:
      awsName
    • setAwsName

      public void setAwsName(String awsName)
    • hostName

      public Host hostName(String hostName)
    • getHostName

      @Nullable public String getHostName()
      The host name.
      Returns:
      hostName
    • setHostName

      public void setHostName(String hostName)
    • id

      public Host id(Long id)
    • getId

      @Nullable public Long getId()
      The host ID.
      Returns:
      id
    • setId

      public void setId(Long id)
    • isMuted

      public Host isMuted(Boolean isMuted)
    • getIsMuted

      @Nullable public Boolean getIsMuted()
      If a host is muted or unmuted.
      Returns:
      isMuted
    • setIsMuted

      public void setIsMuted(Boolean isMuted)
    • lastReportedTime

      public Host lastReportedTime(Long lastReportedTime)
    • getLastReportedTime

      @Nullable public Long getLastReportedTime()
      Last time the host reported a metric data point.
      Returns:
      lastReportedTime
    • setLastReportedTime

      public void setLastReportedTime(Long lastReportedTime)
    • meta

      public Host meta(HostMeta meta)
    • getMeta

      @Nullable public HostMeta getMeta()
      Metadata associated with your host.
      Returns:
      meta
    • setMeta

      public void setMeta(HostMeta meta)
    • metrics

      public Host metrics(HostMetrics metrics)
    • getMetrics

      @Nullable public HostMetrics getMetrics()
      Host Metrics collected.
      Returns:
      metrics
    • setMetrics

      public void setMetrics(HostMetrics metrics)
    • muteTimeout

      public Host muteTimeout(Long muteTimeout)
    • getMuteTimeout

      @Nullable public Long getMuteTimeout()
      Timeout of the mute applied to your host.
      Returns:
      muteTimeout
    • getMuteTimeout_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getMuteTimeout_JsonNullable()
    • setMuteTimeout_JsonNullable

      public void setMuteTimeout_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> muteTimeout)
    • setMuteTimeout

      public void setMuteTimeout(Long muteTimeout)
    • name

      public Host name(String name)
    • getName

      @Nullable public String getName()
      The host name.
      Returns:
      name
    • setName

      public void setName(String name)
    • sources

      public Host sources(List<String> sources)
    • addSourcesItem

      public Host addSourcesItem(String sourcesItem)
    • getSources

      @Nullable public List<String> getSources()
      Source or cloud provider associated with your host.
      Returns:
      sources
    • setSources

      public void setSources(List<String> sources)
    • tagsBySource

      public Host tagsBySource(Map<String,List<String>> tagsBySource)
    • putTagsBySourceItem

      public Host putTagsBySourceItem(String key, List<String> tagsBySourceItem)
    • getTagsBySource

      @Nullable public Map<String,List<String>> getTagsBySource()
      List of tags for each source (AWS, Datadog Agent, Chef..).
      Returns:
      tagsBySource
    • setTagsBySource

      public void setTagsBySource(Map<String,List<String>> tagsBySource)
    • up

      public Host up(Boolean up)
    • getUp

      @Nullable public Boolean getUp()
      Displays UP when the expected metrics are received and displays ??? if no metrics are received.
      Returns:
      up
    • setUp

      public void setUp(Boolean up)
    • putAdditionalProperty

      public Host putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      Host
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this Host object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object