Class V1CustomResourceDefinitionStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1CustomResourceDefinitionStatus extends Object
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
  • Field Details

  • Constructor Details

    • V1CustomResourceDefinitionStatus

      public V1CustomResourceDefinitionStatus()
  • Method Details

    • getAcceptedNames

      public V1CustomResourceDefinitionNames getAcceptedNames()
      Returns:
      the acceptedNames property value
    • setAcceptedNames

      public void setAcceptedNames(V1CustomResourceDefinitionNames acceptedNames)
      Set the acceptedNames property value
      Parameters:
      acceptedNames - property value to set
    • acceptedNames

      Set acceptedNames in a chainable fashion.
      Returns:
      The same instance of V1CustomResourceDefinitionStatus for chaining.
    • getConditions

      public List<@Valid V1CustomResourceDefinitionCondition> getConditions()
      conditions indicate state for particular aspects of a CustomResourceDefinition
      Returns:
      the conditions property value
    • setConditions

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

      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1CustomResourceDefinitionStatus for chaining.
    • addconditionsItem

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

      public List<@NotNull String> getStoredVersions()
      storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
      Returns:
      the storedVersions property value
    • setStoredVersions

      public void setStoredVersions(List<@NotNull String> storedVersions)
      Set the storedVersions property value
      Parameters:
      storedVersions - property value to set
    • storedVersions

      public V1CustomResourceDefinitionStatus storedVersions(List<@NotNull String> storedVersions)
      Set storedVersions in a chainable fashion.
      Returns:
      The same instance of V1CustomResourceDefinitionStatus for chaining.
    • addstoredVersionsItem

      public V1CustomResourceDefinitionStatus addstoredVersionsItem(String storedVersionsItem)
      Add an item to the storedVersions property in a chainable fashion.
      Returns:
      The same instance of V1CustomResourceDefinitionStatus 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