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

com.pulumi.azurenative.web.outputs.StaticSiteBuildPropertiesResponse 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.azurenative.web.outputs;

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

@CustomType
public final class StaticSiteBuildPropertiesResponse {
    /**
     * @return A custom command to run during deployment of the Azure Functions API application.
     * 
     */
    private @Nullable String apiBuildCommand;
    /**
     * @return The path to the api code within the repository.
     * 
     */
    private @Nullable String apiLocation;
    /**
     * @return Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
     * 
     */
    private @Nullable String appArtifactLocation;
    /**
     * @return A custom command to run during deployment of the static content application.
     * 
     */
    private @Nullable String appBuildCommand;
    /**
     * @return The path to the app code within the repository.
     * 
     */
    private @Nullable String appLocation;
    /**
     * @return Github Action secret name override.
     * 
     */
    private @Nullable String githubActionSecretNameOverride;
    /**
     * @return The output path of the app after building.
     * 
     */
    private @Nullable String outputLocation;
    /**
     * @return Skip Github Action workflow generation.
     * 
     */
    private @Nullable Boolean skipGithubActionWorkflowGeneration;

    private StaticSiteBuildPropertiesResponse() {}
    /**
     * @return A custom command to run during deployment of the Azure Functions API application.
     * 
     */
    public Optional apiBuildCommand() {
        return Optional.ofNullable(this.apiBuildCommand);
    }
    /**
     * @return The path to the api code within the repository.
     * 
     */
    public Optional apiLocation() {
        return Optional.ofNullable(this.apiLocation);
    }
    /**
     * @return Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
     * 
     */
    public Optional appArtifactLocation() {
        return Optional.ofNullable(this.appArtifactLocation);
    }
    /**
     * @return A custom command to run during deployment of the static content application.
     * 
     */
    public Optional appBuildCommand() {
        return Optional.ofNullable(this.appBuildCommand);
    }
    /**
     * @return The path to the app code within the repository.
     * 
     */
    public Optional appLocation() {
        return Optional.ofNullable(this.appLocation);
    }
    /**
     * @return Github Action secret name override.
     * 
     */
    public Optional githubActionSecretNameOverride() {
        return Optional.ofNullable(this.githubActionSecretNameOverride);
    }
    /**
     * @return The output path of the app after building.
     * 
     */
    public Optional outputLocation() {
        return Optional.ofNullable(this.outputLocation);
    }
    /**
     * @return Skip Github Action workflow generation.
     * 
     */
    public Optional skipGithubActionWorkflowGeneration() {
        return Optional.ofNullable(this.skipGithubActionWorkflowGeneration);
    }

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

    public static Builder builder(StaticSiteBuildPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String apiBuildCommand;
        private @Nullable String apiLocation;
        private @Nullable String appArtifactLocation;
        private @Nullable String appBuildCommand;
        private @Nullable String appLocation;
        private @Nullable String githubActionSecretNameOverride;
        private @Nullable String outputLocation;
        private @Nullable Boolean skipGithubActionWorkflowGeneration;
        public Builder() {}
        public Builder(StaticSiteBuildPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiBuildCommand = defaults.apiBuildCommand;
    	      this.apiLocation = defaults.apiLocation;
    	      this.appArtifactLocation = defaults.appArtifactLocation;
    	      this.appBuildCommand = defaults.appBuildCommand;
    	      this.appLocation = defaults.appLocation;
    	      this.githubActionSecretNameOverride = defaults.githubActionSecretNameOverride;
    	      this.outputLocation = defaults.outputLocation;
    	      this.skipGithubActionWorkflowGeneration = defaults.skipGithubActionWorkflowGeneration;
        }

        @CustomType.Setter
        public Builder apiBuildCommand(@Nullable String apiBuildCommand) {

            this.apiBuildCommand = apiBuildCommand;
            return this;
        }
        @CustomType.Setter
        public Builder apiLocation(@Nullable String apiLocation) {

            this.apiLocation = apiLocation;
            return this;
        }
        @CustomType.Setter
        public Builder appArtifactLocation(@Nullable String appArtifactLocation) {

            this.appArtifactLocation = appArtifactLocation;
            return this;
        }
        @CustomType.Setter
        public Builder appBuildCommand(@Nullable String appBuildCommand) {

            this.appBuildCommand = appBuildCommand;
            return this;
        }
        @CustomType.Setter
        public Builder appLocation(@Nullable String appLocation) {

            this.appLocation = appLocation;
            return this;
        }
        @CustomType.Setter
        public Builder githubActionSecretNameOverride(@Nullable String githubActionSecretNameOverride) {

            this.githubActionSecretNameOverride = githubActionSecretNameOverride;
            return this;
        }
        @CustomType.Setter
        public Builder outputLocation(@Nullable String outputLocation) {

            this.outputLocation = outputLocation;
            return this;
        }
        @CustomType.Setter
        public Builder skipGithubActionWorkflowGeneration(@Nullable Boolean skipGithubActionWorkflowGeneration) {

            this.skipGithubActionWorkflowGeneration = skipGithubActionWorkflowGeneration;
            return this;
        }
        public StaticSiteBuildPropertiesResponse build() {
            final var _resultValue = new StaticSiteBuildPropertiesResponse();
            _resultValue.apiBuildCommand = apiBuildCommand;
            _resultValue.apiLocation = apiLocation;
            _resultValue.appArtifactLocation = appArtifactLocation;
            _resultValue.appBuildCommand = appBuildCommand;
            _resultValue.appLocation = appLocation;
            _resultValue.githubActionSecretNameOverride = githubActionSecretNameOverride;
            _resultValue.outputLocation = outputLocation;
            _resultValue.skipGithubActionWorkflowGeneration = skipGithubActionWorkflowGeneration;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy