Class V1alpha3ResourcePoolStatusRequestStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3ResourcePoolStatusRequestStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha3ResourcePoolStatusRequestStatus extends Object
ResourcePoolStatusRequestStatus contains the calculated pool status information.
  • Field Details

  • Constructor Details

    • V1alpha3ResourcePoolStatusRequestStatus

      public V1alpha3ResourcePoolStatusRequestStatus(Integer poolCount)
  • Method Details

    • getPoolCount

      public Integer getPoolCount()
      PoolCount is the total number of pools that matched the filter criteria, regardless of truncation. This helps users understand how many pools exist even when the response is truncated. A value of 0 means no pools matched the filter criteria.
      Returns:
      the poolCount property value
    • setPoolCount

      public void setPoolCount(Integer poolCount)
      Set the poolCount property value
      Parameters:
      poolCount - property value to set
    • poolCount

      public V1alpha3ResourcePoolStatusRequestStatus poolCount(Integer poolCount)
      Set poolCount in a chainable fashion.
      Returns:
      The same instance of V1alpha3ResourcePoolStatusRequestStatus for chaining.
    • getConditions

      public List<@Valid V1Condition> getConditions()
      Conditions provide information about the state of the request. A condition with type=Complete or type=Failed will always be set when the status is populated. Known condition types: - \"Complete\": True when the request has been processed successfully - \"Failed\": True when the request could not be processed
      Returns:
      the conditions property value
    • setConditions

      public void setConditions(List<@Valid V1Condition> conditions)
      Set the conditions property value
      Parameters:
      conditions - property value to set
    • conditions

      public V1alpha3ResourcePoolStatusRequestStatus conditions(List<@Valid V1Condition> conditions)
      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1alpha3ResourcePoolStatusRequestStatus for chaining.
    • addConditionsItem

      public V1alpha3ResourcePoolStatusRequestStatus addConditionsItem(V1Condition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1alpha3ResourcePoolStatusRequestStatus for chaining.
    • getPools

      public List<@Valid V1alpha3PoolStatus> getPools()
      Pools contains the first `spec.limit` matching pools, sorted by driver then pool name. If `len(pools) invalid input: '<' poolCount`, the list was truncated. When omitted, no pools matched the request filters.
      Returns:
      the pools property value
    • setPools

      public void setPools(List<@Valid V1alpha3PoolStatus> pools)
      Set the pools property value
      Parameters:
      pools - property value to set
    • pools

      Set pools in a chainable fashion.
      Returns:
      The same instance of V1alpha3ResourcePoolStatusRequestStatus for chaining.
    • addPoolsItem

      Add an item to the pools property in a chainable fashion.
      Returns:
      The same instance of V1alpha3ResourcePoolStatusRequestStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object