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 Details

  • Constructor Details

  • Method Details

    • getPodGroupTemplates

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

      public void setPodGroupTemplates(List<@Valid V1alpha2PodGroupTemplate> podGroupTemplates)
      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

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

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

      public V1alpha2WorkloadSpec controllerRef(V1alpha2TypedLocalObjectReference controllerRef)
      Set controllerRef in a chainable fashion.
      Returns:
      The same instance of V1alpha2WorkloadSpec 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