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

com.pulumi.azure.monitoring.outputs.AlertProcessingRuleActionGroupSchedule 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.15.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.azure.monitoring.outputs;

import com.pulumi.azure.monitoring.outputs.AlertProcessingRuleActionGroupScheduleRecurrence;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AlertProcessingRuleActionGroupSchedule {
    /**
     * @return Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
     * 
     */
    private @Nullable String effectiveFrom;
    /**
     * @return Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
     * 
     */
    private @Nullable String effectiveUntil;
    /**
     * @return A `recurrence` block as defined above.
     * 
     */
    private @Nullable AlertProcessingRuleActionGroupScheduleRecurrence recurrence;
    /**
     * @return The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to `UTC`. [possible values are defined here](<https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912391(v=winembedded.11)>).
     * 
     */
    private @Nullable String timeZone;

    private AlertProcessingRuleActionGroupSchedule() {}
    /**
     * @return Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
     * 
     */
    public Optional effectiveFrom() {
        return Optional.ofNullable(this.effectiveFrom);
    }
    /**
     * @return Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
     * 
     */
    public Optional effectiveUntil() {
        return Optional.ofNullable(this.effectiveUntil);
    }
    /**
     * @return A `recurrence` block as defined above.
     * 
     */
    public Optional recurrence() {
        return Optional.ofNullable(this.recurrence);
    }
    /**
     * @return The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to `UTC`. [possible values are defined here](<https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912391(v=winembedded.11)>).
     * 
     */
    public Optional timeZone() {
        return Optional.ofNullable(this.timeZone);
    }

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

    public static Builder builder(AlertProcessingRuleActionGroupSchedule defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String effectiveFrom;
        private @Nullable String effectiveUntil;
        private @Nullable AlertProcessingRuleActionGroupScheduleRecurrence recurrence;
        private @Nullable String timeZone;
        public Builder() {}
        public Builder(AlertProcessingRuleActionGroupSchedule defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.effectiveFrom = defaults.effectiveFrom;
    	      this.effectiveUntil = defaults.effectiveUntil;
    	      this.recurrence = defaults.recurrence;
    	      this.timeZone = defaults.timeZone;
        }

        @CustomType.Setter
        public Builder effectiveFrom(@Nullable String effectiveFrom) {

            this.effectiveFrom = effectiveFrom;
            return this;
        }
        @CustomType.Setter
        public Builder effectiveUntil(@Nullable String effectiveUntil) {

            this.effectiveUntil = effectiveUntil;
            return this;
        }
        @CustomType.Setter
        public Builder recurrence(@Nullable AlertProcessingRuleActionGroupScheduleRecurrence recurrence) {

            this.recurrence = recurrence;
            return this;
        }
        @CustomType.Setter
        public Builder timeZone(@Nullable String timeZone) {

            this.timeZone = timeZone;
            return this;
        }
        public AlertProcessingRuleActionGroupSchedule build() {
            final var _resultValue = new AlertProcessingRuleActionGroupSchedule();
            _resultValue.effectiveFrom = effectiveFrom;
            _resultValue.effectiveUntil = effectiveUntil;
            _resultValue.recurrence = recurrence;
            _resultValue.timeZone = timeZone;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy