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

com.pulumi.azurenative.web.inputs.StaticSiteBuildPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.web.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;


/**
 * Build properties for the static site.
 * 
 */
public final class StaticSiteBuildPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final StaticSiteBuildPropertiesArgs Empty = new StaticSiteBuildPropertiesArgs();

    /**
     * A custom command to run during deployment of the Azure Functions API application.
     * 
     */
    @Import(name="apiBuildCommand")
    private @Nullable Output apiBuildCommand;

    /**
     * @return A custom command to run during deployment of the Azure Functions API application.
     * 
     */
    public Optional> apiBuildCommand() {
        return Optional.ofNullable(this.apiBuildCommand);
    }

    /**
     * The path to the api code within the repository.
     * 
     */
    @Import(name="apiLocation")
    private @Nullable Output apiLocation;

    /**
     * @return The path to the api code within the repository.
     * 
     */
    public Optional> apiLocation() {
        return Optional.ofNullable(this.apiLocation);
    }

    /**
     * Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
     * 
     */
    @Import(name="appArtifactLocation")
    private @Nullable Output appArtifactLocation;

    /**
     * @return Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
     * 
     */
    public Optional> appArtifactLocation() {
        return Optional.ofNullable(this.appArtifactLocation);
    }

    /**
     * A custom command to run during deployment of the static content application.
     * 
     */
    @Import(name="appBuildCommand")
    private @Nullable Output appBuildCommand;

    /**
     * @return A custom command to run during deployment of the static content application.
     * 
     */
    public Optional> appBuildCommand() {
        return Optional.ofNullable(this.appBuildCommand);
    }

    /**
     * The path to the app code within the repository.
     * 
     */
    @Import(name="appLocation")
    private @Nullable Output appLocation;

    /**
     * @return The path to the app code within the repository.
     * 
     */
    public Optional> appLocation() {
        return Optional.ofNullable(this.appLocation);
    }

    /**
     * Github Action secret name override.
     * 
     */
    @Import(name="githubActionSecretNameOverride")
    private @Nullable Output githubActionSecretNameOverride;

    /**
     * @return Github Action secret name override.
     * 
     */
    public Optional> githubActionSecretNameOverride() {
        return Optional.ofNullable(this.githubActionSecretNameOverride);
    }

    /**
     * The output path of the app after building.
     * 
     */
    @Import(name="outputLocation")
    private @Nullable Output outputLocation;

    /**
     * @return The output path of the app after building.
     * 
     */
    public Optional> outputLocation() {
        return Optional.ofNullable(this.outputLocation);
    }

    /**
     * Skip Github Action workflow generation.
     * 
     */
    @Import(name="skipGithubActionWorkflowGeneration")
    private @Nullable Output skipGithubActionWorkflowGeneration;

    /**
     * @return Skip Github Action workflow generation.
     * 
     */
    public Optional> skipGithubActionWorkflowGeneration() {
        return Optional.ofNullable(this.skipGithubActionWorkflowGeneration);
    }

    private StaticSiteBuildPropertiesArgs() {}

    private StaticSiteBuildPropertiesArgs(StaticSiteBuildPropertiesArgs $) {
        this.apiBuildCommand = $.apiBuildCommand;
        this.apiLocation = $.apiLocation;
        this.appArtifactLocation = $.appArtifactLocation;
        this.appBuildCommand = $.appBuildCommand;
        this.appLocation = $.appLocation;
        this.githubActionSecretNameOverride = $.githubActionSecretNameOverride;
        this.outputLocation = $.outputLocation;
        this.skipGithubActionWorkflowGeneration = $.skipGithubActionWorkflowGeneration;
    }

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

    public static final class Builder {
        private StaticSiteBuildPropertiesArgs $;

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

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

        /**
         * @param apiBuildCommand A custom command to run during deployment of the Azure Functions API application.
         * 
         * @return builder
         * 
         */
        public Builder apiBuildCommand(@Nullable Output apiBuildCommand) {
            $.apiBuildCommand = apiBuildCommand;
            return this;
        }

        /**
         * @param apiBuildCommand A custom command to run during deployment of the Azure Functions API application.
         * 
         * @return builder
         * 
         */
        public Builder apiBuildCommand(String apiBuildCommand) {
            return apiBuildCommand(Output.of(apiBuildCommand));
        }

        /**
         * @param apiLocation The path to the api code within the repository.
         * 
         * @return builder
         * 
         */
        public Builder apiLocation(@Nullable Output apiLocation) {
            $.apiLocation = apiLocation;
            return this;
        }

        /**
         * @param apiLocation The path to the api code within the repository.
         * 
         * @return builder
         * 
         */
        public Builder apiLocation(String apiLocation) {
            return apiLocation(Output.of(apiLocation));
        }

        /**
         * @param appArtifactLocation Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
         * 
         * @return builder
         * 
         */
        public Builder appArtifactLocation(@Nullable Output appArtifactLocation) {
            $.appArtifactLocation = appArtifactLocation;
            return this;
        }

        /**
         * @param appArtifactLocation Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
         * 
         * @return builder
         * 
         */
        public Builder appArtifactLocation(String appArtifactLocation) {
            return appArtifactLocation(Output.of(appArtifactLocation));
        }

        /**
         * @param appBuildCommand A custom command to run during deployment of the static content application.
         * 
         * @return builder
         * 
         */
        public Builder appBuildCommand(@Nullable Output appBuildCommand) {
            $.appBuildCommand = appBuildCommand;
            return this;
        }

        /**
         * @param appBuildCommand A custom command to run during deployment of the static content application.
         * 
         * @return builder
         * 
         */
        public Builder appBuildCommand(String appBuildCommand) {
            return appBuildCommand(Output.of(appBuildCommand));
        }

        /**
         * @param appLocation The path to the app code within the repository.
         * 
         * @return builder
         * 
         */
        public Builder appLocation(@Nullable Output appLocation) {
            $.appLocation = appLocation;
            return this;
        }

        /**
         * @param appLocation The path to the app code within the repository.
         * 
         * @return builder
         * 
         */
        public Builder appLocation(String appLocation) {
            return appLocation(Output.of(appLocation));
        }

        /**
         * @param githubActionSecretNameOverride Github Action secret name override.
         * 
         * @return builder
         * 
         */
        public Builder githubActionSecretNameOverride(@Nullable Output githubActionSecretNameOverride) {
            $.githubActionSecretNameOverride = githubActionSecretNameOverride;
            return this;
        }

        /**
         * @param githubActionSecretNameOverride Github Action secret name override.
         * 
         * @return builder
         * 
         */
        public Builder githubActionSecretNameOverride(String githubActionSecretNameOverride) {
            return githubActionSecretNameOverride(Output.of(githubActionSecretNameOverride));
        }

        /**
         * @param outputLocation The output path of the app after building.
         * 
         * @return builder
         * 
         */
        public Builder outputLocation(@Nullable Output outputLocation) {
            $.outputLocation = outputLocation;
            return this;
        }

        /**
         * @param outputLocation The output path of the app after building.
         * 
         * @return builder
         * 
         */
        public Builder outputLocation(String outputLocation) {
            return outputLocation(Output.of(outputLocation));
        }

        /**
         * @param skipGithubActionWorkflowGeneration Skip Github Action workflow generation.
         * 
         * @return builder
         * 
         */
        public Builder skipGithubActionWorkflowGeneration(@Nullable Output skipGithubActionWorkflowGeneration) {
            $.skipGithubActionWorkflowGeneration = skipGithubActionWorkflowGeneration;
            return this;
        }

        /**
         * @param skipGithubActionWorkflowGeneration Skip Github Action workflow generation.
         * 
         * @return builder
         * 
         */
        public Builder skipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration) {
            return skipGithubActionWorkflowGeneration(Output.of(skipGithubActionWorkflowGeneration));
        }

        public StaticSiteBuildPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy