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

com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs 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.monitoring.inputs;

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


public final class AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs extends com.pulumi.resources.ResourceArgs {

    public static final AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs Empty = new AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs();

    /**
     * Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
     * 
     */
    @Import(name="daysOfWeeks", required=true)
    private Output> daysOfWeeks;

    /**
     * @return Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
     * 
     */
    public Output> daysOfWeeks() {
        return this.daysOfWeeks;
    }

    /**
     * Specifies the recurrence end time (H:M:S).
     * 
     */
    @Import(name="endTime")
    private @Nullable Output endTime;

    /**
     * @return Specifies the recurrence end time (H:M:S).
     * 
     */
    public Optional> endTime() {
        return Optional.ofNullable(this.endTime);
    }

    /**
     * Specifies the recurrence start time (H:M:S).
     * 
     */
    @Import(name="startTime")
    private @Nullable Output startTime;

    /**
     * @return Specifies the recurrence start time (H:M:S).
     * 
     */
    public Optional> startTime() {
        return Optional.ofNullable(this.startTime);
    }

    private AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs() {}

    private AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs(AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs $) {
        this.daysOfWeeks = $.daysOfWeeks;
        this.endTime = $.endTime;
        this.startTime = $.startTime;
    }

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

    public static final class Builder {
        private AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs $;

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

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

        /**
         * @param daysOfWeeks Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
         * 
         * @return builder
         * 
         */
        public Builder daysOfWeeks(Output> daysOfWeeks) {
            $.daysOfWeeks = daysOfWeeks;
            return this;
        }

        /**
         * @param daysOfWeeks Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
         * 
         * @return builder
         * 
         */
        public Builder daysOfWeeks(List daysOfWeeks) {
            return daysOfWeeks(Output.of(daysOfWeeks));
        }

        /**
         * @param daysOfWeeks Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
         * 
         * @return builder
         * 
         */
        public Builder daysOfWeeks(String... daysOfWeeks) {
            return daysOfWeeks(List.of(daysOfWeeks));
        }

        /**
         * @param endTime Specifies the recurrence end time (H:M:S).
         * 
         * @return builder
         * 
         */
        public Builder endTime(@Nullable Output endTime) {
            $.endTime = endTime;
            return this;
        }

        /**
         * @param endTime Specifies the recurrence end time (H:M:S).
         * 
         * @return builder
         * 
         */
        public Builder endTime(String endTime) {
            return endTime(Output.of(endTime));
        }

        /**
         * @param startTime Specifies the recurrence start time (H:M:S).
         * 
         * @return builder
         * 
         */
        public Builder startTime(@Nullable Output startTime) {
            $.startTime = startTime;
            return this;
        }

        /**
         * @param startTime Specifies the recurrence start time (H:M:S).
         * 
         * @return builder
         * 
         */
        public Builder startTime(String startTime) {
            return startTime(Output.of(startTime));
        }

        public AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs build() {
            if ($.daysOfWeeks == null) {
                throw new MissingRequiredPropertyException("AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs", "daysOfWeeks");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy