Class CustomResourceDefinitionStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.apiextensionsapiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class CustomResourceDefinitionStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CustomResourceDefinitionStatus.Builder
-
Constructor Summary
Constructors Constructor Description CustomResourceDefinitionStatus()
CustomResourceDefinitionStatus(CustomResourceDefinitionNames acceptedNames, java.util.List<CustomResourceDefinitionCondition> conditions, java.util.List<java.lang.String> storedVersions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomResourceDefinitionStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
CustomResourceDefinitionNames
getAcceptedNames()
java.util.List<CustomResourceDefinitionCondition>
getConditions()
conditions indicate state for particular aspects of a CustomResourceDefinitionjava.util.List<java.lang.String>
getStoredVersions()
storedVersions lists all versions of CustomResources that were ever persisted.int
hashCode()
void
setAcceptedNames(CustomResourceDefinitionNames acceptedNames)
void
setConditions(java.util.List<CustomResourceDefinitionCondition> conditions)
conditions indicate state for particular aspects of a CustomResourceDefinitionvoid
setStoredVersions(java.util.List<java.lang.String> storedVersions)
storedVersions lists all versions of CustomResources that were ever persisted.CustomResourceDefinitionStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CustomResourceDefinitionStatus
public CustomResourceDefinitionStatus(CustomResourceDefinitionNames acceptedNames, java.util.List<CustomResourceDefinitionCondition> conditions, java.util.List<java.lang.String> storedVersions)
-
CustomResourceDefinitionStatus
public CustomResourceDefinitionStatus()
-
-
Method Detail
-
builder
public static CustomResourceDefinitionStatus.Builder builder()
-
toBuilder
public CustomResourceDefinitionStatus.Builder toBuilder()
-
getAcceptedNames
public CustomResourceDefinitionNames getAcceptedNames()
-
getConditions
public java.util.List<CustomResourceDefinitionCondition> getConditions()
conditions indicate state for particular aspects of a CustomResourceDefinition
-
getStoredVersions
public java.util.List<java.lang.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.
-
setAcceptedNames
public void setAcceptedNames(CustomResourceDefinitionNames acceptedNames)
-
setConditions
public void setConditions(java.util.List<CustomResourceDefinitionCondition> conditions)
conditions indicate state for particular aspects of a CustomResourceDefinition
-
setStoredVersions
public void setStoredVersions(java.util.List<java.lang.String> storedVersions)
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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-