Class FleetDeploymentHost

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetDeploymentHost extends Object
A host that is part of a deployment with its current status.
  • Field Details

  • Constructor Details

    • FleetDeploymentHost

      public FleetDeploymentHost()
  • Method Details

    • error

      public FleetDeploymentHost error(String error)
    • getError

      @Nullable public String getError()
      Error message if the deployment failed on this host.
      Returns:
      error
    • setError

      public void setError(String error)
    • hostname

      public FleetDeploymentHost hostname(String hostname)
    • getHostname

      @Nullable public String getHostname()
      The hostname of the agent.
      Returns:
      hostname
    • setHostname

      public void setHostname(String hostname)
    • status

      public FleetDeploymentHost status(String status)
    • getStatus

      @Nullable public String getStatus()
      Current deployment status for this specific host.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • versions

    • addVersionsItem

      public FleetDeploymentHost addVersionsItem(FleetDeploymentHostPackage versionsItem)
    • getVersions

      @Nullable public List<FleetDeploymentHostPackage> getVersions()
      List of packages and their versions currently installed on this host.
      Returns:
      versions
    • setVersions

      public void setVersions(List<FleetDeploymentHostPackage> versions)
    • putAdditionalProperty

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