Class V1alpha1StorageVersionMigrationSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1StorageVersionMigrationSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha1StorageVersionMigrationSpec
extends Object
Spec of the storage version migration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontinueToken
(String continueToken) boolean
Create an instance of V1alpha1StorageVersionMigrationSpec given an JSON stringThe token used in the list options to get the next chunk of objects to migrate.Get resourceint
hashCode()
resource
(V1alpha1GroupVersionResource resource) void
setContinueToken
(String continueToken) void
setResource
(V1alpha1GroupVersionResource resource) toJson()
Convert an instance of V1alpha1StorageVersionMigrationSpec to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONTINUE_TOKEN
- See Also:
-
SERIALIZED_NAME_RESOURCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1StorageVersionMigrationSpec
public V1alpha1StorageVersionMigrationSpec()
-
-
Method Details
-
continueToken
-
getContinueToken
The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.- Returns:
- continueToken
-
setContinueToken
-
resource
-
getResource
Get resource- Returns:
- resource
-
setResource
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1alpha1StorageVersionMigrationSpec
-
fromJson
Create an instance of V1alpha1StorageVersionMigrationSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha1StorageVersionMigrationSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha1StorageVersionMigrationSpec
-
toJson
Convert an instance of V1alpha1StorageVersionMigrationSpec to an JSON string- Returns:
- JSON string
-