Class V1alpha1WorkloadSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha1WorkloadSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha1WorkloadSpec
extends Object
WorkloadSpec defines the desired state of a Workload.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPodGroupsItem(V1alpha1PodGroup podGroupsItem) Add an item to the podGroups property in a chainable fashion.controllerRef(V1alpha1TypedLocalObjectReference controllerRef) Set controllerRef in a chainable fashion.booleanList<@Valid V1alpha1PodGroup> PodGroups is the list of pod groups that make up the Workload.inthashCode()podGroups(List<@Valid V1alpha1PodGroup> podGroups) Set podGroups in a chainable fashion.voidsetControllerRef(V1alpha1TypedLocalObjectReference controllerRef) Set the controllerRef property valuevoidsetPodGroups(List<@Valid V1alpha1PodGroup> podGroups) Set the podGroups property valuetoString()
-
Field Details
-
JSON_PROPERTY_POD_GROUPS
- See Also:
-
JSON_PROPERTY_CONTROLLER_REF
- See Also:
-
-
Constructor Details
-
V1alpha1WorkloadSpec
-
-
Method Details
-
getPodGroups
PodGroups is the list of pod groups that make up the Workload. The maximum number of pod groups is 8. This field is immutable.- Returns:
- the podGroups property value
-
setPodGroups
Set the podGroups property value- Parameters:
podGroups- property value to set
-
podGroups
Set podGroups in a chainable fashion.- Returns:
- The same instance of V1alpha1WorkloadSpec for chaining.
-
addPodGroupsItem
Add an item to the podGroups property in a chainable fashion.- Returns:
- The same instance of V1alpha1WorkloadSpec 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 V1alpha1WorkloadSpec for chaining.
-
equals
-
hashCode
-
toString
-