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

com.pulumi.azure.compute.inputs.WindowsVirtualMachineOsImageNotificationArgs 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.azure.compute.inputs;

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


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

    public static final WindowsVirtualMachineOsImageNotificationArgs Empty = new WindowsVirtualMachineOsImageNotificationArgs();

    /**
     * Length of time a notification to be sent to the VM on the instance metadata server till the VM gets OS upgraded. The only possible value is `PT15M`. Defaults to `PT15M`.
     * 
     */
    @Import(name="timeout")
    private @Nullable Output timeout;

    /**
     * @return Length of time a notification to be sent to the VM on the instance metadata server till the VM gets OS upgraded. The only possible value is `PT15M`. Defaults to `PT15M`.
     * 
     */
    public Optional> timeout() {
        return Optional.ofNullable(this.timeout);
    }

    private WindowsVirtualMachineOsImageNotificationArgs() {}

    private WindowsVirtualMachineOsImageNotificationArgs(WindowsVirtualMachineOsImageNotificationArgs $) {
        this.timeout = $.timeout;
    }

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

    public static final class Builder {
        private WindowsVirtualMachineOsImageNotificationArgs $;

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

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

        /**
         * @param timeout Length of time a notification to be sent to the VM on the instance metadata server till the VM gets OS upgraded. The only possible value is `PT15M`. Defaults to `PT15M`.
         * 
         * @return builder
         * 
         */
        public Builder timeout(@Nullable Output timeout) {
            $.timeout = timeout;
            return this;
        }

        /**
         * @param timeout Length of time a notification to be sent to the VM on the instance metadata server till the VM gets OS upgraded. The only possible value is `PT15M`. Defaults to `PT15M`.
         * 
         * @return builder
         * 
         */
        public Builder timeout(String timeout) {
            return timeout(Output.of(timeout));
        }

        public WindowsVirtualMachineOsImageNotificationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy