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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceptedNames
(V1CustomResourceDefinitionNames acceptedNames) Set acceptedNames in a chainable fashion.addconditionsItem
(V1CustomResourceDefinitionCondition conditionsItem) Add an item to the conditions property in a chainable fashion.addstoredVersionsItem
(String storedVersionsItem) Add an item to the storedVersions property in a chainable fashion.conditions
(List<@Valid V1CustomResourceDefinitionCondition> conditions) Set conditions in a chainable fashion.boolean
conditions indicate state for particular aspects of a CustomResourceDefinitionstoredVersions lists all versions of CustomResources that were ever persisted.int
hashCode()
void
setAcceptedNames
(V1CustomResourceDefinitionNames acceptedNames) Set the acceptedNames property valuevoid
setConditions
(List<@Valid V1CustomResourceDefinitionCondition> conditions) Set the conditions property valuevoid
setStoredVersions
(List<String> storedVersions) Set the storedVersions property valuestoredVersions
(List<String> storedVersions) Set storedVersions in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_ACCEPTED_NAMES
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_STORED_VERSIONS
- See Also:
-
-
Constructor Details
-
V1CustomResourceDefinitionStatus
public V1CustomResourceDefinitionStatus()
-
-
Method Details
-
getAcceptedNames
- Returns:
- the acceptedNames property value
-
setAcceptedNames
Set the acceptedNames property value -
acceptedNames
public V1CustomResourceDefinitionStatus acceptedNames(V1CustomResourceDefinitionNames acceptedNames) Set acceptedNames in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionStatus for chaining.
-
getConditions
conditions indicate state for particular aspects of a CustomResourceDefinition- Returns:
- the conditions property value
-
setConditions
Set the conditions property value -
conditions
public V1CustomResourceDefinitionStatus conditions(List<@Valid V1CustomResourceDefinitionCondition> 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
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
Set the storedVersions property value -
storedVersions
Set storedVersions in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionStatus for chaining.
-
addstoredVersionsItem
Add an item to the storedVersions property in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-