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

com.pulumi.googlenative.compute.v1.inputs.DisplayDeviceArgs 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.googlenative.compute.v1.inputs;

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


/**
 * A set of Display Device options
 * 
 */
public final class DisplayDeviceArgs extends com.pulumi.resources.ResourceArgs {

    public static final DisplayDeviceArgs Empty = new DisplayDeviceArgs();

    /**
     * Defines whether the instance has Display enabled.
     * 
     */
    @Import(name="enableDisplay")
    private @Nullable Output enableDisplay;

    /**
     * @return Defines whether the instance has Display enabled.
     * 
     */
    public Optional> enableDisplay() {
        return Optional.ofNullable(this.enableDisplay);
    }

    private DisplayDeviceArgs() {}

    private DisplayDeviceArgs(DisplayDeviceArgs $) {
        this.enableDisplay = $.enableDisplay;
    }

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

    public static final class Builder {
        private DisplayDeviceArgs $;

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

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

        /**
         * @param enableDisplay Defines whether the instance has Display enabled.
         * 
         * @return builder
         * 
         */
        public Builder enableDisplay(@Nullable Output enableDisplay) {
            $.enableDisplay = enableDisplay;
            return this;
        }

        /**
         * @param enableDisplay Defines whether the instance has Display enabled.
         * 
         * @return builder
         * 
         */
        public Builder enableDisplay(Boolean enableDisplay) {
            return enableDisplay(Output.of(enableDisplay));
        }

        public DisplayDeviceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy