Class V1JobTemplateSpec

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1JobTemplateSpec extends Object
JobTemplateSpec describes the data a Job should have when created from a template
  • Field Details

  • Constructor Details

    • V1JobTemplateSpec

      public V1JobTemplateSpec()
  • Method Details

    • getMetadata

      public V1ObjectMeta getMetadata()
      Returns:
      the metadata property value
    • setMetadata

      public void setMetadata(V1ObjectMeta metadata)
      Set the metadata property value
    • metadata

      public V1JobTemplateSpec metadata(V1ObjectMeta metadata)
      Set metadata in a chainable fashion.
      Returns:
      The same instance of V1JobTemplateSpec for chaining.
    • getSpec

      public V1JobSpec getSpec()
      Returns:
      the spec property value
    • setSpec

      public void setSpec(V1JobSpec spec)
      Set the spec property value
    • spec

      public V1JobTemplateSpec spec(V1JobSpec spec)
      Set spec in a chainable fashion.
      Returns:
      The same instance of V1JobTemplateSpec 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