Class V1alpha1ServerStorageVersion
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha1ServerStorageVersion
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha1ServerStorageVersion
extends Object
An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadddecodableVersionsItem
(String decodableVersionsItem) Add an item to the decodableVersions property in a chainable fashion.addservedVersionsItem
(String servedVersionsItem) Add an item to the servedVersions property in a chainable fashion.apiServerID
(String apiServerID) Set apiServerID in a chainable fashion.decodableVersions
(List<@NotNull String> decodableVersions) Set decodableVersions in a chainable fashion.encodingVersion
(String encodingVersion) Set encodingVersion in a chainable fashion.boolean
The ID of the reporting API server.The API server can decode objects encoded in these versions.The API server encodes the object to this version when persisting it in the backend (e.g., etcd).The API server can serve these versions.int
hashCode()
servedVersions
(List<@NotNull String> servedVersions) Set servedVersions in a chainable fashion.void
setApiServerID
(String apiServerID) Set the apiServerID property valuevoid
setDecodableVersions
(List<@NotNull String> decodableVersions) Set the decodableVersions property valuevoid
setEncodingVersion
(String encodingVersion) Set the encodingVersion property valuevoid
setServedVersions
(List<@NotNull String> servedVersions) Set the servedVersions property valuetoString()
-
Field Details
-
JSON_PROPERTY_API_SERVER_I_D
- See Also:
-
JSON_PROPERTY_DECODABLE_VERSIONS
- See Also:
-
JSON_PROPERTY_ENCODING_VERSION
- See Also:
-
JSON_PROPERTY_SERVED_VERSIONS
- See Also:
-
-
Constructor Details
-
V1alpha1ServerStorageVersion
public V1alpha1ServerStorageVersion()
-
-
Method Details
-
getApiServerID
The ID of the reporting API server.- Returns:
- the apiServerID property value
-
setApiServerID
Set the apiServerID property value- Parameters:
apiServerID
- property value to set
-
apiServerID
Set apiServerID in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
getDecodableVersions
The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.- Returns:
- the decodableVersions property value
-
setDecodableVersions
Set the decodableVersions property value- Parameters:
decodableVersions
- property value to set
-
decodableVersions
Set decodableVersions in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
adddecodableVersionsItem
Add an item to the decodableVersions property in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
getEncodingVersion
The API server encodes the object to this version when persisting it in the backend (e.g., etcd).- Returns:
- the encodingVersion property value
-
setEncodingVersion
Set the encodingVersion property value- Parameters:
encodingVersion
- property value to set
-
encodingVersion
Set encodingVersion in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
getServedVersions
The API server can serve these versions. DecodableVersions must include all ServedVersions.- Returns:
- the servedVersions property value
-
setServedVersions
Set the servedVersions property value- Parameters:
servedVersions
- property value to set
-
servedVersions
Set servedVersions in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
addservedVersionsItem
Add an item to the servedVersions property in a chainable fashion.- Returns:
- The same instance of V1alpha1ServerStorageVersion for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-