Class V1PodTemplateSpec

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

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

  • Constructor Details

    • V1PodTemplateSpec

      public V1PodTemplateSpec()
  • Method Details

    • getMetadata

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

      public void setMetadata(V1ObjectMeta metadata)
      Set the metadata property value
      Parameters:
      metadata - property value to set
    • metadata

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

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

      public void setSpec(V1PodSpec spec)
      Set the spec property value
      Parameters:
      spec - property value to set
    • spec

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