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
ConstructorsConstructorDescriptionV1alpha1ServerStorageVersion(String apiServerID, List<@NotNull String> decodableVersions, String encodingVersion) -
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.booleanapiServerID is the ID of the reporting API server.decodableVersions are the encoding versions the API server can handle to decode.encodingVersion the API server encodes the object to when persisting it in the backend (e.g., etcd).servedVersions lists all versions the API server can serve.inthashCode()servedVersions(List<@NotNull String> servedVersions) Set servedVersions in a chainable fashion.voidsetApiServerID(String apiServerID) Set the apiServerID property valuevoidsetDecodableVersions(List<@NotNull String> decodableVersions) Set the decodableVersions property valuevoidsetEncodingVersion(String encodingVersion) Set the encodingVersion property valuevoidsetServedVersions(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
-
-
Method Details
-
getApiServerID
apiServerID is 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
decodableVersions are the encoding versions the API server can handle to decode. The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.- Returns:
- the decodableVersions property value
-
setDecodableVersions
-
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
encodingVersion the API server encodes the object to 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
-
setServedVersions
-
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
-
toString
-