Class KubeCronJobV1Beta1.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static KubeCronJobV1Beta1.Builder create​(software.constructs.Construct scope,
                                                        String id)
        Parameters:
        scope - the scope in which to define this object. This parameter is required.
        id - a scope-local name for the object. This parameter is required.
        Returns:
        a new instance of KubeCronJobV1Beta1.Builder.
      • metadata

        @Stability(Stable)
        public KubeCronJobV1Beta1.Builder metadata​(ObjectMeta metadata)
        Standard object's metadata.

        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

        Parameters:
        metadata - Standard object's metadata. This parameter is required.
        Returns:
        this
      • spec

        @Stability(Stable)
        public KubeCronJobV1Beta1.Builder spec​(CronJobSpecV1Beta1 spec)
        Specification of the desired behavior of a cron job, including the schedule.

        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

        Parameters:
        spec - Specification of the desired behavior of a cron job, including the schedule. This parameter is required.
        Returns:
        this