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 Details

  • Constructor Details

  • Method Details

    • getPodGroups

      public List<@Valid V1alpha1PodGroup> 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

      public void setPodGroups(List<@Valid V1alpha1PodGroup> podGroups)
      Set the podGroups property value
      Parameters:
      podGroups - property value to set
    • podGroups

      public V1alpha1WorkloadSpec podGroups(List<@Valid V1alpha1PodGroup> podGroups)
      Set podGroups in a chainable fashion.
      Returns:
      The same instance of V1alpha1WorkloadSpec for chaining.
    • addPodGroupsItem

      public V1alpha1WorkloadSpec addPodGroupsItem(V1alpha1PodGroup podGroupsItem)
      Add an item to the podGroups property in a chainable fashion.
      Returns:
      The same instance of V1alpha1WorkloadSpec for chaining.
    • getControllerRef

      public V1alpha1TypedLocalObjectReference getControllerRef()
      Returns:
      the controllerRef property value
    • setControllerRef

      public void setControllerRef(V1alpha1TypedLocalObjectReference controllerRef)
      Set the controllerRef property value
      Parameters:
      controllerRef - property value to set
    • controllerRef

      public V1alpha1WorkloadSpec controllerRef(V1alpha1TypedLocalObjectReference controllerRef)
      Set controllerRef in a chainable fashion.
      Returns:
      The same instance of V1alpha1WorkloadSpec for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object