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

com.pulumi.azurenative.maintenance.inputs.MaintenanceOverridePropertiesArgs Maven / Gradle / Ivy

// *** 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.maintenance.inputs;

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


/**
 * Definition of a MaintenanceOverrideProperties
 * 
 */
public final class MaintenanceOverridePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final MaintenanceOverridePropertiesArgs Empty = new MaintenanceOverridePropertiesArgs();

    /**
     * Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
     * 
     */
    @Import(name="endDateTime")
    private @Nullable Output endDateTime;

    /**
     * @return Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
     * 
     */
    public Optional> endDateTime() {
        return Optional.ofNullable(this.endDateTime);
    }

    /**
     * Gets or sets overrideProperties of the maintenanceConfiguration
     * 
     */
    @Import(name="overrideProperties")
    private @Nullable Output> overrideProperties;

    /**
     * @return Gets or sets overrideProperties of the maintenanceConfiguration
     * 
     */
    public Optional>> overrideProperties() {
        return Optional.ofNullable(this.overrideProperties);
    }

    /**
     * Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
     * 
     */
    @Import(name="startDateTime")
    private @Nullable Output startDateTime;

    /**
     * @return Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
     * 
     */
    public Optional> startDateTime() {
        return Optional.ofNullable(this.startDateTime);
    }

    /**
     * Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
     * 
     */
    @Import(name="timeZone")
    private @Nullable Output timeZone;

    /**
     * @return Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
     * 
     */
    public Optional> timeZone() {
        return Optional.ofNullable(this.timeZone);
    }

    private MaintenanceOverridePropertiesArgs() {}

    private MaintenanceOverridePropertiesArgs(MaintenanceOverridePropertiesArgs $) {
        this.endDateTime = $.endDateTime;
        this.overrideProperties = $.overrideProperties;
        this.startDateTime = $.startDateTime;
        this.timeZone = $.timeZone;
    }

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

    public static final class Builder {
        private MaintenanceOverridePropertiesArgs $;

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

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

        /**
         * @param endDateTime Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
         * 
         * @return builder
         * 
         */
        public Builder endDateTime(@Nullable Output endDateTime) {
            $.endDateTime = endDateTime;
            return this;
        }

        /**
         * @param endDateTime Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
         * 
         * @return builder
         * 
         */
        public Builder endDateTime(String endDateTime) {
            return endDateTime(Output.of(endDateTime));
        }

        /**
         * @param overrideProperties Gets or sets overrideProperties of the maintenanceConfiguration
         * 
         * @return builder
         * 
         */
        public Builder overrideProperties(@Nullable Output> overrideProperties) {
            $.overrideProperties = overrideProperties;
            return this;
        }

        /**
         * @param overrideProperties Gets or sets overrideProperties of the maintenanceConfiguration
         * 
         * @return builder
         * 
         */
        public Builder overrideProperties(Map overrideProperties) {
            return overrideProperties(Output.of(overrideProperties));
        }

        /**
         * @param startDateTime Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
         * 
         * @return builder
         * 
         */
        public Builder startDateTime(@Nullable Output startDateTime) {
            $.startDateTime = startDateTime;
            return this;
        }

        /**
         * @param startDateTime Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
         * 
         * @return builder
         * 
         */
        public Builder startDateTime(String startDateTime) {
            return startDateTime(Output.of(startDateTime));
        }

        /**
         * @param timeZone Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
         * 
         * @return builder
         * 
         */
        public Builder timeZone(@Nullable Output timeZone) {
            $.timeZone = timeZone;
            return this;
        }

        /**
         * @param timeZone Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
         * 
         * @return builder
         * 
         */
        public Builder timeZone(String timeZone) {
            return timeZone(Output.of(timeZone));
        }

        public MaintenanceOverridePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy