Class V1alpha1PodGroup

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha1PodGroup

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha1PodGroup extends Object
PodGroup represents a set of pods with a common scheduling policy.
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Name is a unique identifier for the PodGroup within the Workload. It must be a DNS label. This field is immutable.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
      Parameters:
      name - property value to set
    • name

      public V1alpha1PodGroup name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1alpha1PodGroup for chaining.
    • getPolicy

      public V1alpha1PodGroupPolicy getPolicy()
      Returns:
      the policy property value
    • setPolicy

      public void setPolicy(V1alpha1PodGroupPolicy policy)
      Set the policy property value
      Parameters:
      policy - property value to set
    • policy

      public V1alpha1PodGroup policy(V1alpha1PodGroupPolicy policy)
      Set policy in a chainable fashion.
      Returns:
      The same instance of V1alpha1PodGroup 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