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

com.pulumi.azurenative.azurefleet.inputs.OSImageNotificationProfileArgs 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.azurefleet.inputs;

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


/**
 * Specifies OS Image Scheduled Event related configurations.
 * 
 */
public final class OSImageNotificationProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final OSImageNotificationProfileArgs Empty = new OSImageNotificationProfileArgs();

    /**
     * Specifies whether the OS Image Scheduled event is enabled or disabled.
     * 
     */
    @Import(name="enable")
    private @Nullable Output enable;

    /**
     * @return Specifies whether the OS Image Scheduled event is enabled or disabled.
     * 
     */
    public Optional> enable() {
        return Optional.ofNullable(this.enable);
    }

    /**
     * Length of time a Virtual Machine being reimaged or having its OS upgraded will
     * have to potentially approve the OS Image Scheduled Event before the event is
     * auto approved (timed out). The configuration is specified in ISO 8601 format,
     * and the value must not exceed 15 minutes (PT15M)
     * 
     */
    @Import(name="notBeforeTimeout")
    private @Nullable Output notBeforeTimeout;

    /**
     * @return Length of time a Virtual Machine being reimaged or having its OS upgraded will
     * have to potentially approve the OS Image Scheduled Event before the event is
     * auto approved (timed out). The configuration is specified in ISO 8601 format,
     * and the value must not exceed 15 minutes (PT15M)
     * 
     */
    public Optional> notBeforeTimeout() {
        return Optional.ofNullable(this.notBeforeTimeout);
    }

    private OSImageNotificationProfileArgs() {}

    private OSImageNotificationProfileArgs(OSImageNotificationProfileArgs $) {
        this.enable = $.enable;
        this.notBeforeTimeout = $.notBeforeTimeout;
    }

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

    public static final class Builder {
        private OSImageNotificationProfileArgs $;

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

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

        /**
         * @param enable Specifies whether the OS Image Scheduled event is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder enable(@Nullable Output enable) {
            $.enable = enable;
            return this;
        }

        /**
         * @param enable Specifies whether the OS Image Scheduled event is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder enable(Boolean enable) {
            return enable(Output.of(enable));
        }

        /**
         * @param notBeforeTimeout Length of time a Virtual Machine being reimaged or having its OS upgraded will
         * have to potentially approve the OS Image Scheduled Event before the event is
         * auto approved (timed out). The configuration is specified in ISO 8601 format,
         * and the value must not exceed 15 minutes (PT15M)
         * 
         * @return builder
         * 
         */
        public Builder notBeforeTimeout(@Nullable Output notBeforeTimeout) {
            $.notBeforeTimeout = notBeforeTimeout;
            return this;
        }

        /**
         * @param notBeforeTimeout Length of time a Virtual Machine being reimaged or having its OS upgraded will
         * have to potentially approve the OS Image Scheduled Event before the event is
         * auto approved (timed out). The configuration is specified in ISO 8601 format,
         * and the value must not exceed 15 minutes (PT15M)
         * 
         * @return builder
         * 
         */
        public Builder notBeforeTimeout(String notBeforeTimeout) {
            return notBeforeTimeout(Output.of(notBeforeTimeout));
        }

        public OSImageNotificationProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy