Class V1alpha2WorkloadPodGroupTemplateReference
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2WorkloadPodGroupTemplateReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1alpha2WorkloadPodGroupTemplateReference
extends Object
WorkloadPodGroupTemplateReference references the PodGroupTemplate within the Workload object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of V1alpha2WorkloadPodGroupTemplateReference given an JSON stringPodGroupTemplateName defines the PodGroupTemplate name within the Workload object.WorkloadName defines the name of the Workload object.inthashCode()podGroupTemplateName(String podGroupTemplateName) voidsetPodGroupTemplateName(String podGroupTemplateName) voidsetWorkloadName(String workloadName) toJson()Convert an instance of V1alpha2WorkloadPodGroupTemplateReference to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundworkloadName(String workloadName)
-
Field Details
-
SERIALIZED_NAME_POD_GROUP_TEMPLATE_NAME
- See Also:
-
SERIALIZED_NAME_WORKLOAD_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2WorkloadPodGroupTemplateReference
public V1alpha2WorkloadPodGroupTemplateReference()
-
-
Method Details
-
podGroupTemplateName
public V1alpha2WorkloadPodGroupTemplateReference podGroupTemplateName(@Nonnull String podGroupTemplateName) -
getPodGroupTemplateName
PodGroupTemplateName defines the PodGroupTemplate name within the Workload object.- Returns:
- podGroupTemplateName
-
setPodGroupTemplateName
-
workloadName
-
getWorkloadName
WorkloadName defines the name of the Workload object.- Returns:
- workloadName
-
setWorkloadName
-
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 V1alpha2WorkloadPodGroupTemplateReference
-
fromJson
public static V1alpha2WorkloadPodGroupTemplateReference fromJson(String jsonString) throws IOException Create an instance of V1alpha2WorkloadPodGroupTemplateReference given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha2WorkloadPodGroupTemplateReference
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha2WorkloadPodGroupTemplateReference
-
toJson
Convert an instance of V1alpha2WorkloadPodGroupTemplateReference to an JSON string- Returns:
- JSON string
-