All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.workloads.inputs.DailyScheduleArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.workloads.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Daily schedule.
 * 
 */
public final class DailyScheduleArgs extends com.pulumi.resources.ResourceArgs {

    public static final DailyScheduleArgs Empty = new DailyScheduleArgs();

    /**
     * List of times of day this schedule has to be run.
     * 
     */
    @Import(name="scheduleRunTimes")
    private @Nullable Output> scheduleRunTimes;

    /**
     * @return List of times of day this schedule has to be run.
     * 
     */
    public Optional>> scheduleRunTimes() {
        return Optional.ofNullable(this.scheduleRunTimes);
    }

    private DailyScheduleArgs() {}

    private DailyScheduleArgs(DailyScheduleArgs $) {
        this.scheduleRunTimes = $.scheduleRunTimes;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(DailyScheduleArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private DailyScheduleArgs $;

        public Builder() {
            $ = new DailyScheduleArgs();
        }

        public Builder(DailyScheduleArgs defaults) {
            $ = new DailyScheduleArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param scheduleRunTimes List of times of day this schedule has to be run.
         * 
         * @return builder
         * 
         */
        public Builder scheduleRunTimes(@Nullable Output> scheduleRunTimes) {
            $.scheduleRunTimes = scheduleRunTimes;
            return this;
        }

        /**
         * @param scheduleRunTimes List of times of day this schedule has to be run.
         * 
         * @return builder
         * 
         */
        public Builder scheduleRunTimes(List scheduleRunTimes) {
            return scheduleRunTimes(Output.of(scheduleRunTimes));
        }

        /**
         * @param scheduleRunTimes List of times of day this schedule has to be run.
         * 
         * @return builder
         * 
         */
        public Builder scheduleRunTimes(String... scheduleRunTimes) {
            return scheduleRunTimes(List.of(scheduleRunTimes));
        }

        public DailyScheduleArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy