Class FleetDeploymentHostsPage

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetDeploymentHostsPage extends Object
Pagination details for the list of hosts in a deployment.
  • Field Details

  • Constructor Details

    • FleetDeploymentHostsPage

      public FleetDeploymentHostsPage()
  • Method Details

    • currentPage

      public FleetDeploymentHostsPage currentPage(Long currentPage)
    • getCurrentPage

      @Nullable public Long getCurrentPage()
      Current page index (zero-based).
      Returns:
      currentPage
    • setCurrentPage

      public void setCurrentPage(Long currentPage)
    • pageSize

      public FleetDeploymentHostsPage pageSize(Long pageSize)
    • getPageSize

      @Nullable public Long getPageSize()
      Number of hosts returned per page.
      Returns:
      pageSize
    • setPageSize

      public void setPageSize(Long pageSize)
    • totalHosts

      public FleetDeploymentHostsPage totalHosts(Long totalHosts)
    • getTotalHosts

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

      public void setTotalHosts(Long totalHosts)
    • totalPages

      public FleetDeploymentHostsPage totalPages(Long totalPages)
    • getTotalPages

      @Nullable public Long getTotalPages()
      Total number of pages available.
      Returns:
      totalPages
    • setTotalPages

      public void setTotalPages(Long totalPages)
    • putAdditionalProperty

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