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

com.pulumi.azurenative.synapse.inputs.WorkspaceRepositoryConfigurationArgs 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.synapse.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;


/**
 * Git integration settings
 * 
 */
public final class WorkspaceRepositoryConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkspaceRepositoryConfigurationArgs Empty = new WorkspaceRepositoryConfigurationArgs();

    /**
     * Account name
     * 
     */
    @Import(name="accountName")
    private @Nullable Output accountName;

    /**
     * @return Account name
     * 
     */
    public Optional> accountName() {
        return Optional.ofNullable(this.accountName);
    }

    /**
     * Collaboration branch
     * 
     */
    @Import(name="collaborationBranch")
    private @Nullable Output collaborationBranch;

    /**
     * @return Collaboration branch
     * 
     */
    public Optional> collaborationBranch() {
        return Optional.ofNullable(this.collaborationBranch);
    }

    /**
     * GitHub Enterprise host name. For example: `https://github.mydomain.com`
     * 
     */
    @Import(name="hostName")
    private @Nullable Output hostName;

    /**
     * @return GitHub Enterprise host name. For example: `https://github.mydomain.com`
     * 
     */
    public Optional> hostName() {
        return Optional.ofNullable(this.hostName);
    }

    /**
     * The last commit ID
     * 
     */
    @Import(name="lastCommitId")
    private @Nullable Output lastCommitId;

    /**
     * @return The last commit ID
     * 
     */
    public Optional> lastCommitId() {
        return Optional.ofNullable(this.lastCommitId);
    }

    /**
     * VSTS project name
     * 
     */
    @Import(name="projectName")
    private @Nullable Output projectName;

    /**
     * @return VSTS project name
     * 
     */
    public Optional> projectName() {
        return Optional.ofNullable(this.projectName);
    }

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

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

    /**
     * Root folder to use in the repository
     * 
     */
    @Import(name="rootFolder")
    private @Nullable Output rootFolder;

    /**
     * @return Root folder to use in the repository
     * 
     */
    public Optional> rootFolder() {
        return Optional.ofNullable(this.rootFolder);
    }

    /**
     * The VSTS tenant ID
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return The VSTS tenant ID
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    /**
     * Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private WorkspaceRepositoryConfigurationArgs() {}

    private WorkspaceRepositoryConfigurationArgs(WorkspaceRepositoryConfigurationArgs $) {
        this.accountName = $.accountName;
        this.collaborationBranch = $.collaborationBranch;
        this.hostName = $.hostName;
        this.lastCommitId = $.lastCommitId;
        this.projectName = $.projectName;
        this.repositoryName = $.repositoryName;
        this.rootFolder = $.rootFolder;
        this.tenantId = $.tenantId;
        this.type = $.type;
    }

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

    public static final class Builder {
        private WorkspaceRepositoryConfigurationArgs $;

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

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

        /**
         * @param accountName Account name
         * 
         * @return builder
         * 
         */
        public Builder accountName(@Nullable Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName Account name
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

        /**
         * @param collaborationBranch Collaboration branch
         * 
         * @return builder
         * 
         */
        public Builder collaborationBranch(@Nullable Output collaborationBranch) {
            $.collaborationBranch = collaborationBranch;
            return this;
        }

        /**
         * @param collaborationBranch Collaboration branch
         * 
         * @return builder
         * 
         */
        public Builder collaborationBranch(String collaborationBranch) {
            return collaborationBranch(Output.of(collaborationBranch));
        }

        /**
         * @param hostName GitHub Enterprise host name. For example: `https://github.mydomain.com`
         * 
         * @return builder
         * 
         */
        public Builder hostName(@Nullable Output hostName) {
            $.hostName = hostName;
            return this;
        }

        /**
         * @param hostName GitHub Enterprise host name. For example: `https://github.mydomain.com`
         * 
         * @return builder
         * 
         */
        public Builder hostName(String hostName) {
            return hostName(Output.of(hostName));
        }

        /**
         * @param lastCommitId The last commit ID
         * 
         * @return builder
         * 
         */
        public Builder lastCommitId(@Nullable Output lastCommitId) {
            $.lastCommitId = lastCommitId;
            return this;
        }

        /**
         * @param lastCommitId The last commit ID
         * 
         * @return builder
         * 
         */
        public Builder lastCommitId(String lastCommitId) {
            return lastCommitId(Output.of(lastCommitId));
        }

        /**
         * @param projectName VSTS project name
         * 
         * @return builder
         * 
         */
        public Builder projectName(@Nullable Output projectName) {
            $.projectName = projectName;
            return this;
        }

        /**
         * @param projectName VSTS project name
         * 
         * @return builder
         * 
         */
        public Builder projectName(String projectName) {
            return projectName(Output.of(projectName));
        }

        /**
         * @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 rootFolder Root folder to use in the repository
         * 
         * @return builder
         * 
         */
        public Builder rootFolder(@Nullable Output rootFolder) {
            $.rootFolder = rootFolder;
            return this;
        }

        /**
         * @param rootFolder Root folder to use in the repository
         * 
         * @return builder
         * 
         */
        public Builder rootFolder(String rootFolder) {
            return rootFolder(Output.of(rootFolder));
        }

        /**
         * @param tenantId The VSTS tenant ID
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId The VSTS tenant ID
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        /**
         * @param type Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public WorkspaceRepositoryConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy