Class Schedule.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<Schedule>
    Enclosing interface:
    Schedule

    @Stability(Experimental)
    public static final class Schedule.Builder
    extends Object
    implements software.amazon.jsii.Builder<Schedule>
    A builder for Schedule
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cron

        @Stability(Experimental)
        public Schedule.Builder cron​(String cron)
        Sets the value of Schedule.getCron()
        Parameters:
        cron - The cron key is defined using POSIX crontab syntax.
        Returns:
        this
      • build

        @Stability(Experimental)
        public Schedule build()
        Builds the configured instance.
        Specified by:
        build in interface software.amazon.jsii.Builder<Schedule>
        Returns:
        a new instance of Schedule
        Throws:
        NullPointerException - if any required attribute was not provided