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

com.pulumi.azurenative.devhub.WorkflowArgs 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.devhub;

import com.pulumi.azurenative.devhub.enums.DockerfileGenerationMode;
import com.pulumi.azurenative.devhub.enums.GenerationLanguage;
import com.pulumi.azurenative.devhub.enums.GenerationManifestType;
import com.pulumi.azurenative.devhub.enums.ManifestGenerationMode;
import com.pulumi.azurenative.devhub.inputs.ACRArgs;
import com.pulumi.azurenative.devhub.inputs.DeploymentPropertiesArgs;
import com.pulumi.azurenative.devhub.inputs.GitHubWorkflowProfileOidcCredentialsArgs;
import com.pulumi.azurenative.devhub.inputs.WorkflowRunArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class WorkflowArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkflowArgs Empty = new WorkflowArgs();

    /**
     * Information on the azure container registry
     * 
     */
    @Import(name="acr")
    private @Nullable Output acr;

    /**
     * @return Information on the azure container registry
     * 
     */
    public Optional> acr() {
        return Optional.ofNullable(this.acr);
    }

    /**
     * The Azure Kubernetes Cluster Resource the application will be deployed to.
     * 
     */
    @Import(name="aksResourceId")
    private @Nullable Output aksResourceId;

    /**
     * @return The Azure Kubernetes Cluster Resource the application will be deployed to.
     * 
     */
    public Optional> aksResourceId() {
        return Optional.ofNullable(this.aksResourceId);
    }

    /**
     * The name of the app.
     * 
     */
    @Import(name="appName")
    private @Nullable Output appName;

    /**
     * @return The name of the app.
     * 
     */
    public Optional> appName() {
        return Optional.ofNullable(this.appName);
    }

    /**
     * Repository Branch Name
     * 
     */
    @Import(name="branchName")
    private @Nullable Output branchName;

    /**
     * @return Repository Branch Name
     * 
     */
    public Optional> branchName() {
        return Optional.ofNullable(this.branchName);
    }

    /**
     * The version of the language image used for building the code in the generated dockerfile.
     * 
     */
    @Import(name="builderVersion")
    private @Nullable Output builderVersion;

    /**
     * @return The version of the language image used for building the code in the generated dockerfile.
     * 
     */
    public Optional> builderVersion() {
        return Optional.ofNullable(this.builderVersion);
    }

    @Import(name="deploymentProperties")
    private @Nullable Output deploymentProperties;

    public Optional> deploymentProperties() {
        return Optional.ofNullable(this.deploymentProperties);
    }

    /**
     * Path to Dockerfile Build Context within the repository.
     * 
     */
    @Import(name="dockerBuildContext")
    private @Nullable Output dockerBuildContext;

    /**
     * @return Path to Dockerfile Build Context within the repository.
     * 
     */
    public Optional> dockerBuildContext() {
        return Optional.ofNullable(this.dockerBuildContext);
    }

    /**
     * Path to the Dockerfile within the repository.
     * 
     */
    @Import(name="dockerfile")
    private @Nullable Output dockerfile;

    /**
     * @return Path to the Dockerfile within the repository.
     * 
     */
    public Optional> dockerfile() {
        return Optional.ofNullable(this.dockerfile);
    }

    /**
     * The mode of generation to be used for generating Dockerfiles.
     * 
     */
    @Import(name="dockerfileGenerationMode")
    private @Nullable Output> dockerfileGenerationMode;

    /**
     * @return The mode of generation to be used for generating Dockerfiles.
     * 
     */
    public Optional>> dockerfileGenerationMode() {
        return Optional.ofNullable(this.dockerfileGenerationMode);
    }

    /**
     * The directory to output the generated Dockerfile to.
     * 
     */
    @Import(name="dockerfileOutputDirectory")
    private @Nullable Output dockerfileOutputDirectory;

    /**
     * @return The directory to output the generated Dockerfile to.
     * 
     */
    public Optional> dockerfileOutputDirectory() {
        return Optional.ofNullable(this.dockerfileOutputDirectory);
    }

    /**
     * The programming language used.
     * 
     */
    @Import(name="generationLanguage")
    private @Nullable Output> generationLanguage;

    /**
     * @return The programming language used.
     * 
     */
    public Optional>> generationLanguage() {
        return Optional.ofNullable(this.generationLanguage);
    }

    /**
     * The name of the image to be generated.
     * 
     */
    @Import(name="imageName")
    private @Nullable Output imageName;

    /**
     * @return The name of the image to be generated.
     * 
     */
    public Optional> imageName() {
        return Optional.ofNullable(this.imageName);
    }

    /**
     * The tag to apply to the generated image.
     * 
     */
    @Import(name="imageTag")
    private @Nullable Output imageTag;

    /**
     * @return The tag to apply to the generated image.
     * 
     */
    public Optional> imageTag() {
        return Optional.ofNullable(this.imageTag);
    }

    /**
     * The version of the language image used for execution in the generated dockerfile.
     * 
     */
    @Import(name="languageVersion")
    private @Nullable Output languageVersion;

    /**
     * @return The version of the language image used for execution in the generated dockerfile.
     * 
     */
    public Optional> languageVersion() {
        return Optional.ofNullable(this.languageVersion);
    }

    @Import(name="lastWorkflowRun")
    private @Nullable Output lastWorkflowRun;

    public Optional> lastWorkflowRun() {
        return Optional.ofNullable(this.lastWorkflowRun);
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The mode of generation to be used for generating Manifest.
     * 
     */
    @Import(name="manifestGenerationMode")
    private @Nullable Output> manifestGenerationMode;

    /**
     * @return The mode of generation to be used for generating Manifest.
     * 
     */
    public Optional>> manifestGenerationMode() {
        return Optional.ofNullable(this.manifestGenerationMode);
    }

    /**
     * The directory to output the generated manifests to.
     * 
     */
    @Import(name="manifestOutputDirectory")
    private @Nullable Output manifestOutputDirectory;

    /**
     * @return The directory to output the generated manifests to.
     * 
     */
    public Optional> manifestOutputDirectory() {
        return Optional.ofNullable(this.manifestOutputDirectory);
    }

    /**
     * Determines the type of manifests to be generated.
     * 
     */
    @Import(name="manifestType")
    private @Nullable Output> manifestType;

    /**
     * @return Determines the type of manifests to be generated.
     * 
     */
    public Optional>> manifestType() {
        return Optional.ofNullable(this.manifestType);
    }

    /**
     * Kubernetes namespace the application is deployed to.
     * 
     */
    @Import(name="namespace")
    private @Nullable Output namespace;

    /**
     * @return Kubernetes namespace the application is deployed to.
     * 
     */
    public Optional> namespace() {
        return Optional.ofNullable(this.namespace);
    }

    /**
     * The fields needed for OIDC with GitHub.
     * 
     */
    @Import(name="oidcCredentials")
    private @Nullable Output oidcCredentials;

    /**
     * @return The fields needed for OIDC with GitHub.
     * 
     */
    public Optional> oidcCredentials() {
        return Optional.ofNullable(this.oidcCredentials);
    }

    /**
     * The port the application is exposed on.
     * 
     */
    @Import(name="port")
    private @Nullable Output port;

    /**
     * @return The port the application is exposed on.
     * 
     */
    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    /**
     * Repository Name
     * 
     */
    @Import(name="repositoryName")
    private @Nullable Output repositoryName;

    /**
     * @return Repository Name
     * 
     */
    public Optional> repositoryName() {
        return Optional.ofNullable(this.repositoryName);
    }

    /**
     * Repository Owner
     * 
     */
    @Import(name="repositoryOwner")
    private @Nullable Output repositoryOwner;

    /**
     * @return Repository Owner
     * 
     */
    public Optional> repositoryOwner() {
        return Optional.ofNullable(this.repositoryOwner);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The name of the workflow resource.
     * 
     */
    @Import(name="workflowName")
    private @Nullable Output workflowName;

    /**
     * @return The name of the workflow resource.
     * 
     */
    public Optional> workflowName() {
        return Optional.ofNullable(this.workflowName);
    }

    private WorkflowArgs() {}

    private WorkflowArgs(WorkflowArgs $) {
        this.acr = $.acr;
        this.aksResourceId = $.aksResourceId;
        this.appName = $.appName;
        this.branchName = $.branchName;
        this.builderVersion = $.builderVersion;
        this.deploymentProperties = $.deploymentProperties;
        this.dockerBuildContext = $.dockerBuildContext;
        this.dockerfile = $.dockerfile;
        this.dockerfileGenerationMode = $.dockerfileGenerationMode;
        this.dockerfileOutputDirectory = $.dockerfileOutputDirectory;
        this.generationLanguage = $.generationLanguage;
        this.imageName = $.imageName;
        this.imageTag = $.imageTag;
        this.languageVersion = $.languageVersion;
        this.lastWorkflowRun = $.lastWorkflowRun;
        this.location = $.location;
        this.manifestGenerationMode = $.manifestGenerationMode;
        this.manifestOutputDirectory = $.manifestOutputDirectory;
        this.manifestType = $.manifestType;
        this.namespace = $.namespace;
        this.oidcCredentials = $.oidcCredentials;
        this.port = $.port;
        this.repositoryName = $.repositoryName;
        this.repositoryOwner = $.repositoryOwner;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.workflowName = $.workflowName;
    }

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

    public static final class Builder {
        private WorkflowArgs $;

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

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

        /**
         * @param acr Information on the azure container registry
         * 
         * @return builder
         * 
         */
        public Builder acr(@Nullable Output acr) {
            $.acr = acr;
            return this;
        }

        /**
         * @param acr Information on the azure container registry
         * 
         * @return builder
         * 
         */
        public Builder acr(ACRArgs acr) {
            return acr(Output.of(acr));
        }

        /**
         * @param aksResourceId The Azure Kubernetes Cluster Resource the application will be deployed to.
         * 
         * @return builder
         * 
         */
        public Builder aksResourceId(@Nullable Output aksResourceId) {
            $.aksResourceId = aksResourceId;
            return this;
        }

        /**
         * @param aksResourceId The Azure Kubernetes Cluster Resource the application will be deployed to.
         * 
         * @return builder
         * 
         */
        public Builder aksResourceId(String aksResourceId) {
            return aksResourceId(Output.of(aksResourceId));
        }

        /**
         * @param appName The name of the app.
         * 
         * @return builder
         * 
         */
        public Builder appName(@Nullable Output appName) {
            $.appName = appName;
            return this;
        }

        /**
         * @param appName The name of the app.
         * 
         * @return builder
         * 
         */
        public Builder appName(String appName) {
            return appName(Output.of(appName));
        }

        /**
         * @param branchName Repository Branch Name
         * 
         * @return builder
         * 
         */
        public Builder branchName(@Nullable Output branchName) {
            $.branchName = branchName;
            return this;
        }

        /**
         * @param branchName Repository Branch Name
         * 
         * @return builder
         * 
         */
        public Builder branchName(String branchName) {
            return branchName(Output.of(branchName));
        }

        /**
         * @param builderVersion The version of the language image used for building the code in the generated dockerfile.
         * 
         * @return builder
         * 
         */
        public Builder builderVersion(@Nullable Output builderVersion) {
            $.builderVersion = builderVersion;
            return this;
        }

        /**
         * @param builderVersion The version of the language image used for building the code in the generated dockerfile.
         * 
         * @return builder
         * 
         */
        public Builder builderVersion(String builderVersion) {
            return builderVersion(Output.of(builderVersion));
        }

        public Builder deploymentProperties(@Nullable Output deploymentProperties) {
            $.deploymentProperties = deploymentProperties;
            return this;
        }

        public Builder deploymentProperties(DeploymentPropertiesArgs deploymentProperties) {
            return deploymentProperties(Output.of(deploymentProperties));
        }

        /**
         * @param dockerBuildContext Path to Dockerfile Build Context within the repository.
         * 
         * @return builder
         * 
         */
        public Builder dockerBuildContext(@Nullable Output dockerBuildContext) {
            $.dockerBuildContext = dockerBuildContext;
            return this;
        }

        /**
         * @param dockerBuildContext Path to Dockerfile Build Context within the repository.
         * 
         * @return builder
         * 
         */
        public Builder dockerBuildContext(String dockerBuildContext) {
            return dockerBuildContext(Output.of(dockerBuildContext));
        }

        /**
         * @param dockerfile Path to the Dockerfile within the repository.
         * 
         * @return builder
         * 
         */
        public Builder dockerfile(@Nullable Output dockerfile) {
            $.dockerfile = dockerfile;
            return this;
        }

        /**
         * @param dockerfile Path to the Dockerfile within the repository.
         * 
         * @return builder
         * 
         */
        public Builder dockerfile(String dockerfile) {
            return dockerfile(Output.of(dockerfile));
        }

        /**
         * @param dockerfileGenerationMode The mode of generation to be used for generating Dockerfiles.
         * 
         * @return builder
         * 
         */
        public Builder dockerfileGenerationMode(@Nullable Output> dockerfileGenerationMode) {
            $.dockerfileGenerationMode = dockerfileGenerationMode;
            return this;
        }

        /**
         * @param dockerfileGenerationMode The mode of generation to be used for generating Dockerfiles.
         * 
         * @return builder
         * 
         */
        public Builder dockerfileGenerationMode(Either dockerfileGenerationMode) {
            return dockerfileGenerationMode(Output.of(dockerfileGenerationMode));
        }

        /**
         * @param dockerfileGenerationMode The mode of generation to be used for generating Dockerfiles.
         * 
         * @return builder
         * 
         */
        public Builder dockerfileGenerationMode(String dockerfileGenerationMode) {
            return dockerfileGenerationMode(Either.ofLeft(dockerfileGenerationMode));
        }

        /**
         * @param dockerfileGenerationMode The mode of generation to be used for generating Dockerfiles.
         * 
         * @return builder
         * 
         */
        public Builder dockerfileGenerationMode(DockerfileGenerationMode dockerfileGenerationMode) {
            return dockerfileGenerationMode(Either.ofRight(dockerfileGenerationMode));
        }

        /**
         * @param dockerfileOutputDirectory The directory to output the generated Dockerfile to.
         * 
         * @return builder
         * 
         */
        public Builder dockerfileOutputDirectory(@Nullable Output dockerfileOutputDirectory) {
            $.dockerfileOutputDirectory = dockerfileOutputDirectory;
            return this;
        }

        /**
         * @param dockerfileOutputDirectory The directory to output the generated Dockerfile to.
         * 
         * @return builder
         * 
         */
        public Builder dockerfileOutputDirectory(String dockerfileOutputDirectory) {
            return dockerfileOutputDirectory(Output.of(dockerfileOutputDirectory));
        }

        /**
         * @param generationLanguage The programming language used.
         * 
         * @return builder
         * 
         */
        public Builder generationLanguage(@Nullable Output> generationLanguage) {
            $.generationLanguage = generationLanguage;
            return this;
        }

        /**
         * @param generationLanguage The programming language used.
         * 
         * @return builder
         * 
         */
        public Builder generationLanguage(Either generationLanguage) {
            return generationLanguage(Output.of(generationLanguage));
        }

        /**
         * @param generationLanguage The programming language used.
         * 
         * @return builder
         * 
         */
        public Builder generationLanguage(String generationLanguage) {
            return generationLanguage(Either.ofLeft(generationLanguage));
        }

        /**
         * @param generationLanguage The programming language used.
         * 
         * @return builder
         * 
         */
        public Builder generationLanguage(GenerationLanguage generationLanguage) {
            return generationLanguage(Either.ofRight(generationLanguage));
        }

        /**
         * @param imageName The name of the image to be generated.
         * 
         * @return builder
         * 
         */
        public Builder imageName(@Nullable Output imageName) {
            $.imageName = imageName;
            return this;
        }

        /**
         * @param imageName The name of the image to be generated.
         * 
         * @return builder
         * 
         */
        public Builder imageName(String imageName) {
            return imageName(Output.of(imageName));
        }

        /**
         * @param imageTag The tag to apply to the generated image.
         * 
         * @return builder
         * 
         */
        public Builder imageTag(@Nullable Output imageTag) {
            $.imageTag = imageTag;
            return this;
        }

        /**
         * @param imageTag The tag to apply to the generated image.
         * 
         * @return builder
         * 
         */
        public Builder imageTag(String imageTag) {
            return imageTag(Output.of(imageTag));
        }

        /**
         * @param languageVersion The version of the language image used for execution in the generated dockerfile.
         * 
         * @return builder
         * 
         */
        public Builder languageVersion(@Nullable Output languageVersion) {
            $.languageVersion = languageVersion;
            return this;
        }

        /**
         * @param languageVersion The version of the language image used for execution in the generated dockerfile.
         * 
         * @return builder
         * 
         */
        public Builder languageVersion(String languageVersion) {
            return languageVersion(Output.of(languageVersion));
        }

        public Builder lastWorkflowRun(@Nullable Output lastWorkflowRun) {
            $.lastWorkflowRun = lastWorkflowRun;
            return this;
        }

        public Builder lastWorkflowRun(WorkflowRunArgs lastWorkflowRun) {
            return lastWorkflowRun(Output.of(lastWorkflowRun));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param manifestGenerationMode The mode of generation to be used for generating Manifest.
         * 
         * @return builder
         * 
         */
        public Builder manifestGenerationMode(@Nullable Output> manifestGenerationMode) {
            $.manifestGenerationMode = manifestGenerationMode;
            return this;
        }

        /**
         * @param manifestGenerationMode The mode of generation to be used for generating Manifest.
         * 
         * @return builder
         * 
         */
        public Builder manifestGenerationMode(Either manifestGenerationMode) {
            return manifestGenerationMode(Output.of(manifestGenerationMode));
        }

        /**
         * @param manifestGenerationMode The mode of generation to be used for generating Manifest.
         * 
         * @return builder
         * 
         */
        public Builder manifestGenerationMode(String manifestGenerationMode) {
            return manifestGenerationMode(Either.ofLeft(manifestGenerationMode));
        }

        /**
         * @param manifestGenerationMode The mode of generation to be used for generating Manifest.
         * 
         * @return builder
         * 
         */
        public Builder manifestGenerationMode(ManifestGenerationMode manifestGenerationMode) {
            return manifestGenerationMode(Either.ofRight(manifestGenerationMode));
        }

        /**
         * @param manifestOutputDirectory The directory to output the generated manifests to.
         * 
         * @return builder
         * 
         */
        public Builder manifestOutputDirectory(@Nullable Output manifestOutputDirectory) {
            $.manifestOutputDirectory = manifestOutputDirectory;
            return this;
        }

        /**
         * @param manifestOutputDirectory The directory to output the generated manifests to.
         * 
         * @return builder
         * 
         */
        public Builder manifestOutputDirectory(String manifestOutputDirectory) {
            return manifestOutputDirectory(Output.of(manifestOutputDirectory));
        }

        /**
         * @param manifestType Determines the type of manifests to be generated.
         * 
         * @return builder
         * 
         */
        public Builder manifestType(@Nullable Output> manifestType) {
            $.manifestType = manifestType;
            return this;
        }

        /**
         * @param manifestType Determines the type of manifests to be generated.
         * 
         * @return builder
         * 
         */
        public Builder manifestType(Either manifestType) {
            return manifestType(Output.of(manifestType));
        }

        /**
         * @param manifestType Determines the type of manifests to be generated.
         * 
         * @return builder
         * 
         */
        public Builder manifestType(String manifestType) {
            return manifestType(Either.ofLeft(manifestType));
        }

        /**
         * @param manifestType Determines the type of manifests to be generated.
         * 
         * @return builder
         * 
         */
        public Builder manifestType(GenerationManifestType manifestType) {
            return manifestType(Either.ofRight(manifestType));
        }

        /**
         * @param namespace Kubernetes namespace the application is deployed to.
         * 
         * @return builder
         * 
         */
        public Builder namespace(@Nullable Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace Kubernetes namespace the application is deployed to.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        /**
         * @param oidcCredentials The fields needed for OIDC with GitHub.
         * 
         * @return builder
         * 
         */
        public Builder oidcCredentials(@Nullable Output oidcCredentials) {
            $.oidcCredentials = oidcCredentials;
            return this;
        }

        /**
         * @param oidcCredentials The fields needed for OIDC with GitHub.
         * 
         * @return builder
         * 
         */
        public Builder oidcCredentials(GitHubWorkflowProfileOidcCredentialsArgs oidcCredentials) {
            return oidcCredentials(Output.of(oidcCredentials));
        }

        /**
         * @param port The port the application is exposed on.
         * 
         * @return builder
         * 
         */
        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

        /**
         * @param port The port the application is exposed on.
         * 
         * @return builder
         * 
         */
        public Builder port(String port) {
            return port(Output.of(port));
        }

        /**
         * @param repositoryName Repository Name
         * 
         * @return builder
         * 
         */
        public Builder repositoryName(@Nullable Output repositoryName) {
            $.repositoryName = repositoryName;
            return this;
        }

        /**
         * @param repositoryName Repository Name
         * 
         * @return builder
         * 
         */
        public Builder repositoryName(String repositoryName) {
            return repositoryName(Output.of(repositoryName));
        }

        /**
         * @param repositoryOwner Repository Owner
         * 
         * @return builder
         * 
         */
        public Builder repositoryOwner(@Nullable Output repositoryOwner) {
            $.repositoryOwner = repositoryOwner;
            return this;
        }

        /**
         * @param repositoryOwner Repository Owner
         * 
         * @return builder
         * 
         */
        public Builder repositoryOwner(String repositoryOwner) {
            return repositoryOwner(Output.of(repositoryOwner));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param workflowName The name of the workflow resource.
         * 
         * @return builder
         * 
         */
        public Builder workflowName(@Nullable Output workflowName) {
            $.workflowName = workflowName;
            return this;
        }

        /**
         * @param workflowName The name of the workflow resource.
         * 
         * @return builder
         * 
         */
        public Builder workflowName(String workflowName) {
            return workflowName(Output.of(workflowName));
        }

        public WorkflowArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("WorkflowArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy