Class V1alpha2WorkloadSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha2WorkloadSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha2WorkloadSpec
extends Object
WorkloadSpec defines the desired state of a Workload.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionV1alpha2WorkloadSpec(List<@Valid V1alpha2PodGroupTemplate> podGroupTemplates) -
Method Summary
Modifier and TypeMethodDescriptionaddPodGroupTemplatesItem(V1alpha2PodGroupTemplate podGroupTemplatesItem) Add an item to the podGroupTemplates property in a chainable fashion.controllerRef(V1alpha2TypedLocalObjectReference controllerRef) Set controllerRef in a chainable fashion.booleanList<@Valid V1alpha2PodGroupTemplate> PodGroupTemplates is the list of templates that make up the Workload.inthashCode()podGroupTemplates(List<@Valid V1alpha2PodGroupTemplate> podGroupTemplates) Set podGroupTemplates in a chainable fashion.voidsetControllerRef(V1alpha2TypedLocalObjectReference controllerRef) Set the controllerRef property valuevoidsetPodGroupTemplates(List<@Valid V1alpha2PodGroupTemplate> podGroupTemplates) Set the podGroupTemplates property valuetoString()
-
Field Details
-
JSON_PROPERTY_POD_GROUP_TEMPLATES
- See Also:
-
JSON_PROPERTY_CONTROLLER_REF
- See Also:
-
-
Constructor Details
-
V1alpha2WorkloadSpec
-
-
Method Details
-
getPodGroupTemplates
PodGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. This field is immutable.- Returns:
- the podGroupTemplates property value
-
setPodGroupTemplates
Set the podGroupTemplates property value- Parameters:
podGroupTemplates- property value to set
-
podGroupTemplates
public V1alpha2WorkloadSpec podGroupTemplates(List<@Valid V1alpha2PodGroupTemplate> podGroupTemplates) Set podGroupTemplates in a chainable fashion.- Returns:
- The same instance of V1alpha2WorkloadSpec for chaining.
-
addPodGroupTemplatesItem
public V1alpha2WorkloadSpec addPodGroupTemplatesItem(V1alpha2PodGroupTemplate podGroupTemplatesItem) Add an item to the podGroupTemplates property in a chainable fashion.- Returns:
- The same instance of V1alpha2WorkloadSpec for chaining.
-
getControllerRef
- Returns:
- the controllerRef property value
-
setControllerRef
Set the controllerRef property value- Parameters:
controllerRef- property value to set
-
controllerRef
Set controllerRef in a chainable fashion.- Returns:
- The same instance of V1alpha2WorkloadSpec for chaining.
-
equals
-
hashCode
-
toString
-