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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconditionsItem
(V1alpha1StorageVersionCondition conditionsItem) Add an item to the conditions property in a chainable fashion.addstorageVersionsItem
(V1alpha1ServerStorageVersion storageVersionsItem) Add an item to the storageVersions property in a chainable fashion.commonEncodingVersion
(String commonEncodingVersion) Set commonEncodingVersion in a chainable fashion.conditions
(List<@Valid V1alpha1StorageVersionCondition> conditions) Set conditions in a chainable fashion.boolean
If all API server instances agree on the same encoding storage version, then this field is set to that version.List<@Valid V1alpha1StorageVersionCondition>
The latest available observations of the storageVersion's state.List<@Valid V1alpha1ServerStorageVersion>
The reported versions per API server instance.int
hashCode()
void
setCommonEncodingVersion
(String commonEncodingVersion) Set the commonEncodingVersion property valuevoid
setConditions
(List<@Valid V1alpha1StorageVersionCondition> conditions) Set the conditions property valuevoid
setStorageVersions
(List<@Valid V1alpha1ServerStorageVersion> storageVersions) Set the storageVersions property valuestorageVersions
(List<@Valid V1alpha1ServerStorageVersion> storageVersions) Set storageVersions in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_COMMON_ENCODING_VERSION
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_STORAGE_VERSIONS
- See Also:
-
-
Constructor Details
-
V1alpha1StorageVersionStatus
public V1alpha1StorageVersionStatus()
-
-
Method Details
-
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
Set the commonEncodingVersion property value -
commonEncodingVersion
Set commonEncodingVersion in a chainable fashion.- Returns:
- The same instance of V1alpha1StorageVersionStatus for chaining.
-
getConditions
The latest available observations of the storageVersion's state.- Returns:
- the conditions property value
-
setConditions
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
The reported versions per API server instance.- Returns:
- the storageVersions property value
-
setStorageVersions
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
-
hashCode
public int hashCode() -
toString
-