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

com.pulumi.azure.datafactory.outputs.TriggerScheduleSchedule Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.datafactory.outputs;

import com.pulumi.azure.datafactory.outputs.TriggerScheduleScheduleMonthly;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class TriggerScheduleSchedule {
    /**
     * @return Day(s) of the month on which the trigger is scheduled. This value can be specified with a monthly frequency only.
     * 
     */
    private @Nullable List daysOfMonths;
    /**
     * @return Days of the week on which the trigger is scheduled. This value can be specified only with a weekly frequency.
     * 
     */
    private @Nullable List daysOfWeeks;
    /**
     * @return Hours of the day on which the trigger is scheduled.
     * 
     */
    private @Nullable List hours;
    /**
     * @return Minutes of the hour on which the trigger is scheduled.
     * 
     */
    private @Nullable List minutes;
    /**
     * @return A `monthly` block as documented below, which specifies the days of the month on which the trigger is scheduled. The value can be specified only with a monthly frequency.
     * 
     */
    private @Nullable List monthlies;

    private TriggerScheduleSchedule() {}
    /**
     * @return Day(s) of the month on which the trigger is scheduled. This value can be specified with a monthly frequency only.
     * 
     */
    public List daysOfMonths() {
        return this.daysOfMonths == null ? List.of() : this.daysOfMonths;
    }
    /**
     * @return Days of the week on which the trigger is scheduled. This value can be specified only with a weekly frequency.
     * 
     */
    public List daysOfWeeks() {
        return this.daysOfWeeks == null ? List.of() : this.daysOfWeeks;
    }
    /**
     * @return Hours of the day on which the trigger is scheduled.
     * 
     */
    public List hours() {
        return this.hours == null ? List.of() : this.hours;
    }
    /**
     * @return Minutes of the hour on which the trigger is scheduled.
     * 
     */
    public List minutes() {
        return this.minutes == null ? List.of() : this.minutes;
    }
    /**
     * @return A `monthly` block as documented below, which specifies the days of the month on which the trigger is scheduled. The value can be specified only with a monthly frequency.
     * 
     */
    public List monthlies() {
        return this.monthlies == null ? List.of() : this.monthlies;
    }

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

    public static Builder builder(TriggerScheduleSchedule defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List daysOfMonths;
        private @Nullable List daysOfWeeks;
        private @Nullable List hours;
        private @Nullable List minutes;
        private @Nullable List monthlies;
        public Builder() {}
        public Builder(TriggerScheduleSchedule defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.daysOfMonths = defaults.daysOfMonths;
    	      this.daysOfWeeks = defaults.daysOfWeeks;
    	      this.hours = defaults.hours;
    	      this.minutes = defaults.minutes;
    	      this.monthlies = defaults.monthlies;
        }

        @CustomType.Setter
        public Builder daysOfMonths(@Nullable List daysOfMonths) {

            this.daysOfMonths = daysOfMonths;
            return this;
        }
        public Builder daysOfMonths(Integer... daysOfMonths) {
            return daysOfMonths(List.of(daysOfMonths));
        }
        @CustomType.Setter
        public Builder daysOfWeeks(@Nullable List daysOfWeeks) {

            this.daysOfWeeks = daysOfWeeks;
            return this;
        }
        public Builder daysOfWeeks(String... daysOfWeeks) {
            return daysOfWeeks(List.of(daysOfWeeks));
        }
        @CustomType.Setter
        public Builder hours(@Nullable List hours) {

            this.hours = hours;
            return this;
        }
        public Builder hours(Integer... hours) {
            return hours(List.of(hours));
        }
        @CustomType.Setter
        public Builder minutes(@Nullable List minutes) {

            this.minutes = minutes;
            return this;
        }
        public Builder minutes(Integer... minutes) {
            return minutes(List.of(minutes));
        }
        @CustomType.Setter
        public Builder monthlies(@Nullable List monthlies) {

            this.monthlies = monthlies;
            return this;
        }
        public Builder monthlies(TriggerScheduleScheduleMonthly... monthlies) {
            return monthlies(List.of(monthlies));
        }
        public TriggerScheduleSchedule build() {
            final var _resultValue = new TriggerScheduleSchedule();
            _resultValue.daysOfMonths = daysOfMonths;
            _resultValue.daysOfWeeks = daysOfWeeks;
            _resultValue.hours = hours;
            _resultValue.minutes = minutes;
            _resultValue.monthlies = monthlies;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy