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

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

There is a newer version: 2.72.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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The GitHub action code configuration.
 * 
 */
public final class GitHubActionCodeConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final GitHubActionCodeConfigurationArgs Empty = new GitHubActionCodeConfigurationArgs();

    /**
     * Runtime stack is used to determine the workflow file content for code base apps.
     * 
     */
    @Import(name="runtimeStack")
    private @Nullable Output runtimeStack;

    /**
     * @return Runtime stack is used to determine the workflow file content for code base apps.
     * 
     */
    public Optional> runtimeStack() {
        return Optional.ofNullable(this.runtimeStack);
    }

    /**
     * Runtime version is used to determine what build version to set in the workflow file.
     * 
     */
    @Import(name="runtimeVersion")
    private @Nullable Output runtimeVersion;

    /**
     * @return Runtime version is used to determine what build version to set in the workflow file.
     * 
     */
    public Optional> runtimeVersion() {
        return Optional.ofNullable(this.runtimeVersion);
    }

    private GitHubActionCodeConfigurationArgs() {}

    private GitHubActionCodeConfigurationArgs(GitHubActionCodeConfigurationArgs $) {
        this.runtimeStack = $.runtimeStack;
        this.runtimeVersion = $.runtimeVersion;
    }

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

    public static final class Builder {
        private GitHubActionCodeConfigurationArgs $;

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

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

        /**
         * @param runtimeStack Runtime stack is used to determine the workflow file content for code base apps.
         * 
         * @return builder
         * 
         */
        public Builder runtimeStack(@Nullable Output runtimeStack) {
            $.runtimeStack = runtimeStack;
            return this;
        }

        /**
         * @param runtimeStack Runtime stack is used to determine the workflow file content for code base apps.
         * 
         * @return builder
         * 
         */
        public Builder runtimeStack(String runtimeStack) {
            return runtimeStack(Output.of(runtimeStack));
        }

        /**
         * @param runtimeVersion Runtime version is used to determine what build version to set in the workflow file.
         * 
         * @return builder
         * 
         */
        public Builder runtimeVersion(@Nullable Output runtimeVersion) {
            $.runtimeVersion = runtimeVersion;
            return this;
        }

        /**
         * @param runtimeVersion Runtime version is used to determine what build version to set in the workflow file.
         * 
         * @return builder
         * 
         */
        public Builder runtimeVersion(String runtimeVersion) {
            return runtimeVersion(Output.of(runtimeVersion));
        }

        public GitHubActionCodeConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy