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

com.pulumi.googlenative.container.v1beta1.inputs.AutopilotArgs 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.container.v1beta1.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;


/**
 * Autopilot is the configuration for Autopilot settings on the cluster.
 * 
 */
public final class AutopilotArgs extends com.pulumi.resources.ResourceArgs {

    public static final AutopilotArgs Empty = new AutopilotArgs();

    /**
     * Enable Autopilot
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Enable Autopilot
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private AutopilotArgs() {}

    private AutopilotArgs(AutopilotArgs $) {
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private AutopilotArgs $;

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

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

        /**
         * @param enabled Enable Autopilot
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Enable Autopilot
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public AutopilotArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy