Class FleetDeploymentV2DetailAgent

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetDeploymentV2DetailAgent extends Object
Per-host status entry for a deployment.
  • Field Details

  • Constructor Details

    • FleetDeploymentV2DetailAgent

      public FleetDeploymentV2DetailAgent()
  • Method Details

    • error

      public FleetDeploymentV2DetailAgent 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 FleetDeploymentV2DetailAgent hostname(String hostname)
    • getHostname

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

      public void setHostname(String hostname)
    • runningStep

      public FleetDeploymentV2DetailAgent runningStep(String runningStep)
    • getRunningStep

      @Nullable public String getRunningStep()
      Name of the step currently executing on this host.
      Returns:
      runningStep
    • setRunningStep

      public void setRunningStep(String runningStep)
    • status

      public FleetDeploymentV2DetailAgent status(String status)
    • getStatus

      @Nullable public String getStatus()
      Deployment status for this host (for example, "pending", "running", "succeeded", "failed").
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • statusDetails

      public FleetDeploymentV2DetailAgent statusDetails(String statusDetails)
    • getStatusDetails

      @Nullable public String getStatusDetails()
      Additional details about the current deployment status on this host.
      Returns:
      statusDetails
    • setStatusDetails

      public void setStatusDetails(String statusDetails)
    • versions

    • addVersionsItem

      public FleetDeploymentV2DetailAgent addVersionsItem(FleetDeploymentHostPackage versionsItem)
    • getVersions

      @Nullable public List<FleetDeploymentHostPackage> getVersions()
      Package version details for this host.
      Returns:
      versions
    • setVersions

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

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