Class V1alpha1StorageVersionStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha1StorageVersionStatus extends Object
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
  • Field Details

  • Constructor Details

    • V1alpha1StorageVersionStatus

      public V1alpha1StorageVersionStatus()
  • Method Details

    • getCommonEncodingVersion

      public String getCommonEncodingVersion()
      If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.
      Returns:
      the commonEncodingVersion property value
    • setCommonEncodingVersion

      public void setCommonEncodingVersion(String commonEncodingVersion)
      Set the commonEncodingVersion property value
    • commonEncodingVersion

      public V1alpha1StorageVersionStatus commonEncodingVersion(String commonEncodingVersion)
      Set commonEncodingVersion in a chainable fashion.
      Returns:
      The same instance of V1alpha1StorageVersionStatus for chaining.
    • getConditions

      public List<@Valid V1alpha1StorageVersionCondition> getConditions()
      The latest available observations of the storageVersion's state.
      Returns:
      the conditions property value
    • setConditions

      public void setConditions(List<@Valid V1alpha1StorageVersionCondition> conditions)
      Set the conditions property value
    • conditions

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

      public V1alpha1StorageVersionStatus addconditionsItem(V1alpha1StorageVersionCondition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1alpha1StorageVersionStatus for chaining.
    • getStorageVersions

      public List<@Valid V1alpha1ServerStorageVersion> getStorageVersions()
      The reported versions per API server instance.
      Returns:
      the storageVersions property value
    • setStorageVersions

      public void setStorageVersions(List<@Valid V1alpha1ServerStorageVersion> storageVersions)
      Set the storageVersions property value
    • storageVersions

      public V1alpha1StorageVersionStatus storageVersions(List<@Valid V1alpha1ServerStorageVersion> storageVersions)
      Set storageVersions in a chainable fashion.
      Returns:
      The same instance of V1alpha1StorageVersionStatus for chaining.
    • addstorageVersionsItem

      public V1alpha1StorageVersionStatus addstorageVersionsItem(V1alpha1ServerStorageVersion storageVersionsItem)
      Add an item to the storageVersions property in a chainable fashion.
      Returns:
      The same instance of V1alpha1StorageVersionStatus 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