Class CIAppHostInfo

java.lang.Object
com.datadog.api.client.v2.model.CIAppHostInfo

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppHostInfo extends Object
Contains information of the host running the pipeline, stage, job, or step.
  • Field Details

  • Constructor Details

    • CIAppHostInfo

      public CIAppHostInfo()
  • Method Details

    • hostname

      public CIAppHostInfo hostname(String hostname)
    • getHostname

      @Nullable public String getHostname()
      FQDN of the host.
      Returns:
      hostname
    • setHostname

      public void setHostname(String hostname)
    • labels

      public CIAppHostInfo labels(List<String> labels)
    • addLabelsItem

      public CIAppHostInfo addLabelsItem(String labelsItem)
    • getLabels

      @Nullable public List<String> getLabels()
      A list of labels used to select or identify the node.
      Returns:
      labels
    • setLabels

      public void setLabels(List<String> labels)
    • name

      public CIAppHostInfo name(String name)
    • getName

      @Nullable public String getName()
      Name for the host.
      Returns:
      name
    • setName

      public void setName(String name)
    • workspace

      public CIAppHostInfo workspace(String workspace)
    • getWorkspace

      @Nullable public String getWorkspace()
      The path where the code is checked out.
      Returns:
      workspace
    • setWorkspace

      public void setWorkspace(String workspace)
    • putAdditionalProperty

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