Class HostTags

java.lang.Object
com.datadog.api.client.v1.model.HostTags

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HostTags extends Object
Host name and an array of its tags
  • Field Details

  • Constructor Details

    • HostTags

      public HostTags()
  • Method Details

    • host

      public HostTags host(String host)
    • getHost

      @Nullable public String getHost()
      Your host name.
      Returns:
      host
    • setHost

      public void setHost(String host)
    • tags

      public HostTags tags(List<String> tags)
    • addTagsItem

      public HostTags addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of tags associated with a host.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

      public HostTags 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:
      HostTags
    • 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 HostTags 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