Class JobTemplateSpec.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • metadata

        @Stability(Stable)
        public JobTemplateSpec.Builder metadata​(ObjectMeta metadata)
        Parameters:
        metadata - Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
        Returns:
        this
      • spec

        @Stability(Stable)
        public JobTemplateSpec.Builder spec​(JobSpec spec)
        Sets the value of JobTemplateSpec.getSpec()
        Parameters:
        spec - Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
        Returns:
        this