Class FleetDeploymentAttributes

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

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

  • Constructor Details

    • FleetDeploymentAttributes

      public FleetDeploymentAttributes()
  • Method Details

    • configOperations

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

      public FleetDeploymentAttributes addConfigOperationsItem(FleetDeploymentOperation configOperationsItem)
    • getConfigOperations

      @Nullable public List<FleetDeploymentOperation> getConfigOperations()
      Ordered list of configuration file operations to perform on the target hosts.
      Returns:
      configOperations
    • setConfigOperations

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

      public FleetDeploymentAttributes estimatedEndTimeUnix(Long estimatedEndTimeUnix)
    • getEstimatedEndTimeUnix

      @Nullable public Long getEstimatedEndTimeUnix()
      Estimated completion time of the deployment as a Unix timestamp (seconds since epoch).
      Returns:
      estimatedEndTimeUnix
    • setEstimatedEndTimeUnix

      public void setEstimatedEndTimeUnix(Long estimatedEndTimeUnix)
    • filterQuery

      public FleetDeploymentAttributes filterQuery(String filterQuery)
    • getFilterQuery

      @Nullable public String getFilterQuery()
      Query used to filter and select target hosts for the deployment. Uses the Datadog query syntax.
      Returns:
      filterQuery
    • setFilterQuery

      public void setFilterQuery(String filterQuery)
    • highLevelStatus

      public FleetDeploymentAttributes 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

      public FleetDeploymentAttributes addHostsItem(FleetDeploymentHost hostsItem)
    • getHosts

      @Nullable public List<FleetDeploymentHost> getHosts()
      Paginated list of hosts in this deployment with their individual statuses. Only included when fetching a single deployment by ID. Use the limit and page query parameters to navigate through pages. Pagination metadata is included in the response meta.hosts field.
      Returns:
      hosts
    • setHosts

      public void setHosts(List<FleetDeploymentHost> hosts)
    • packages

    • addPackagesItem

      public FleetDeploymentAttributes addPackagesItem(FleetDeploymentPackage packagesItem)
    • getPackages

      @Nullable public List<FleetDeploymentPackage> getPackages()
      List of packages to deploy to target hosts. Present only for package upgrade deployments.
      Returns:
      packages
    • setPackages

      public void setPackages(List<FleetDeploymentPackage> packages)
    • totalHosts

      public FleetDeploymentAttributes totalHosts(Long totalHosts)
    • getTotalHosts

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

      public void setTotalHosts(Long totalHosts)
    • putAdditionalProperty

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