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

com.pulumi.azurenative.app.inputs.AzureStaticWebAppsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.app.inputs;

import com.pulumi.azurenative.app.inputs.AzureStaticWebAppsRegistrationArgs;
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;


/**
 * The configuration settings of the Azure Static Web Apps provider.
 * 
 */
public final class AzureStaticWebAppsArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureStaticWebAppsArgs Empty = new AzureStaticWebAppsArgs();

    /**
     * <code>false</code> if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, <code>true</code>.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return <code>false</code> if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, <code>true</code>.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * The configuration settings of the Azure Static Web Apps registration.
     * 
     */
    @Import(name="registration")
    private @Nullable Output registration;

    /**
     * @return The configuration settings of the Azure Static Web Apps registration.
     * 
     */
    public Optional> registration() {
        return Optional.ofNullable(this.registration);
    }

    private AzureStaticWebAppsArgs() {}

    private AzureStaticWebAppsArgs(AzureStaticWebAppsArgs $) {
        this.enabled = $.enabled;
        this.registration = $.registration;
    }

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

    public static final class Builder {
        private AzureStaticWebAppsArgs $;

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

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

        /**
         * @param enabled <code>false</code> if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled <code>false</code> if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param registration The configuration settings of the Azure Static Web Apps registration.
         * 
         * @return builder
         * 
         */
        public Builder registration(@Nullable Output registration) {
            $.registration = registration;
            return this;
        }

        /**
         * @param registration The configuration settings of the Azure Static Web Apps registration.
         * 
         * @return builder
         * 
         */
        public Builder registration(AzureStaticWebAppsRegistrationArgs registration) {
            return registration(Output.of(registration));
        }

        public AzureStaticWebAppsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy