Class FleetDeploymentV2DetailAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetDeploymentV2DetailAttributes extends Object
Attributes of a deployment detail response.
  • Field Details

  • Constructor Details

    • FleetDeploymentV2DetailAttributes

      public FleetDeploymentV2DetailAttributes()
  • Method Details

    • author

      public FleetDeploymentV2DetailAttributes author(String author)
    • getAuthor

      @Nullable public String getAuthor()
      Handle of the user who triggered the deployment.
      Returns:
      author
    • setAuthor

      public void setAuthor(String author)
    • canceledHosts

      public FleetDeploymentV2DetailAttributes canceledHosts(Long canceledHosts)
    • getCanceledHosts

      @Nullable public Long getCanceledHosts()
      Number of hosts on which the deployment was canceled. minimum: 0
      Returns:
      canceledHosts
    • setCanceledHosts

      public void setCanceledHosts(Long canceledHosts)
    • configOperations

      public FleetDeploymentV2DetailAttributes configOperations(List<FleetDeploymentOperation> configOperations)
    • addConfigOperationsItem

      public FleetDeploymentV2DetailAttributes addConfigOperationsItem(FleetDeploymentOperation configOperationsItem)
    • getConfigOperations

      @Nullable public List<FleetDeploymentOperation> getConfigOperations()
      Ordered list of configuration file operations applied by this deployment. Absent for package deployments, which have no configuration file operations.
      Returns:
      configOperations
    • setConfigOperations

      public void setConfigOperations(List<FleetDeploymentOperation> configOperations)
    • durationSeconds

      public FleetDeploymentV2DetailAttributes durationSeconds(Long durationSeconds)
    • getDurationSeconds

      @Nullable public Long getDurationSeconds()
      Duration of the deployment in seconds, computed as finished_at - started_at. Zero if the deployment has not finished.
      Returns:
      durationSeconds
    • setDurationSeconds

      public void setDurationSeconds(Long durationSeconds)
    • errorSummary

      public FleetDeploymentV2DetailAttributes errorSummary(String errorSummary)
    • getErrorSummary

      @Nullable public String getErrorSummary()
      Top-level error message for the deployment. Populated only when the deployment has failed.
      Returns:
      errorSummary
    • setErrorSummary

      public void setErrorSummary(String errorSummary)
    • estimatedFinishedAt

      public FleetDeploymentV2DetailAttributes estimatedFinishedAt(Long estimatedFinishedAt)
    • getEstimatedFinishedAt

      @Nullable public Long getEstimatedFinishedAt()
      Estimated completion time of the deployment as a Unix timestamp. Zero if not available.
      Returns:
      estimatedFinishedAt
    • setEstimatedFinishedAt

      public void setEstimatedFinishedAt(Long estimatedFinishedAt)
    • failedHosts

      public FleetDeploymentV2DetailAttributes failedHosts(Long failedHosts)
    • getFailedHosts

      @Nullable public Long getFailedHosts()
      Number of hosts on which the deployment failed. minimum: 0
      Returns:
      failedHosts
    • setFailedHosts

      public void setFailedHosts(Long failedHosts)
    • highLevelStatus

      public FleetDeploymentV2DetailAttributes highLevelStatus(String highLevelStatus)
    • getHighLevelStatus

      @Nullable public String getHighLevelStatus()
      Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").
      Returns:
      highLevelStatus
    • setHighLevelStatus

      public void setHighLevelStatus(String highLevelStatus)
    • hosts

    • addHostsItem

    • getHosts

      @Nullable public List<FleetDeploymentV2DetailAgent> getHosts()
      Per-host status list for this deployment.
      Returns:
      hosts
    • setHosts

      public void setHosts(List<FleetDeploymentV2DetailAgent> hosts)
    • isScheduled

      public FleetDeploymentV2DetailAttributes isScheduled(Boolean isScheduled)
    • getIsScheduled

      @Nullable public Boolean getIsScheduled()
      Whether this deployment was triggered by a schedule (schedule_id is non-empty).
      Returns:
      isScheduled
    • setIsScheduled

      public void setIsScheduled(Boolean isScheduled)
    • query

    • getQuery

      @Nullable public String getQuery()
      Query used to filter and select target hosts for the deployment.
      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • runningHosts

      public FleetDeploymentV2DetailAttributes runningHosts(Long runningHosts)
    • getRunningHosts

      @Nullable public Long getRunningHosts()
      Number of hosts on which the deployment is currently running. minimum: 0
      Returns:
      runningHosts
    • setRunningHosts

      public void setRunningHosts(Long runningHosts)
    • scheduleId

      public FleetDeploymentV2DetailAttributes scheduleId(String scheduleId)
    • getScheduleId

      @Nullable public String getScheduleId()
      Identifier of the schedule that triggered this deployment. Empty if triggered manually.
      Returns:
      scheduleId
    • setScheduleId

      public void setScheduleId(String scheduleId)
    • skippedHosts

      public FleetDeploymentV2DetailAttributes skippedHosts(Long skippedHosts)
    • getSkippedHosts

      @Nullable public Long getSkippedHosts()
      Number of hosts that were skipped during the deployment. minimum: 0
      Returns:
      skippedHosts
    • setSkippedHosts

      public void setSkippedHosts(Long skippedHosts)
    • succeededHosts

      public FleetDeploymentV2DetailAttributes succeededHosts(Long succeededHosts)
    • getSucceededHosts

      @Nullable public Long getSucceededHosts()
      Number of hosts on which the deployment succeeded. minimum: 0
      Returns:
      succeededHosts
    • setSucceededHosts

      public void setSucceededHosts(Long succeededHosts)
    • targetVersions

      public FleetDeploymentV2DetailAttributes targetVersions(List<String> targetVersions)
    • addTargetVersionsItem

      public FleetDeploymentV2DetailAttributes addTargetVersionsItem(String targetVersionsItem)
    • getTargetVersions

      @Nullable public List<String> getTargetVersions()
      Distinct package versions targeted by this deployment, in first-seen order.
      Returns:
      targetVersions
    • setTargetVersions

      public void setTargetVersions(List<String> targetVersions)
    • totalHosts

      public FleetDeploymentV2DetailAttributes totalHosts(Long totalHosts)
    • getTotalHosts

      @Nullable public Long getTotalHosts()
      Total number of hosts targeted by this deployment.
      Returns:
      totalHosts
    • setTotalHosts

      public void setTotalHosts(Long totalHosts)
    • updateType

      public FleetDeploymentV2DetailAttributes updateType(String updateType)
    • getUpdateType

      @Nullable public String getUpdateType()
      Type of update operation performed by this deployment (for example, "update_config_operations", "update_package").
      Returns:
      updateType
    • setUpdateType

      public void setUpdateType(String updateType)
    • putAdditionalProperty

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