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

com.pulumi.azurenative.devcenter.inputs.GitCatalogArgs Maven / Gradle / Ivy

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


/**
 * Properties for a Git repository catalog.
 * 
 */
public final class GitCatalogArgs extends com.pulumi.resources.ResourceArgs {

    public static final GitCatalogArgs Empty = new GitCatalogArgs();

    /**
     * Git branch.
     * 
     */
    @Import(name="branch")
    private @Nullable Output branch;

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

    /**
     * The folder where the catalog items can be found inside the repository.
     * 
     */
    @Import(name="path")
    private @Nullable Output path;

    /**
     * @return The folder where the catalog items can be found inside the repository.
     * 
     */
    public Optional> path() {
        return Optional.ofNullable(this.path);
    }

    /**
     * A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
     * 
     */
    @Import(name="secretIdentifier")
    private @Nullable Output secretIdentifier;

    /**
     * @return A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
     * 
     */
    public Optional> secretIdentifier() {
        return Optional.ofNullable(this.secretIdentifier);
    }

    /**
     * Git URI.
     * 
     */
    @Import(name="uri")
    private @Nullable Output uri;

    /**
     * @return Git URI.
     * 
     */
    public Optional> uri() {
        return Optional.ofNullable(this.uri);
    }

    private GitCatalogArgs() {}

    private GitCatalogArgs(GitCatalogArgs $) {
        this.branch = $.branch;
        this.path = $.path;
        this.secretIdentifier = $.secretIdentifier;
        this.uri = $.uri;
    }

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

    public static final class Builder {
        private GitCatalogArgs $;

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

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

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

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

        /**
         * @param path The folder where the catalog items can be found inside the repository.
         * 
         * @return builder
         * 
         */
        public Builder path(@Nullable Output path) {
            $.path = path;
            return this;
        }

        /**
         * @param path The folder where the catalog items can be found inside the repository.
         * 
         * @return builder
         * 
         */
        public Builder path(String path) {
            return path(Output.of(path));
        }

        /**
         * @param secretIdentifier A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
         * 
         * @return builder
         * 
         */
        public Builder secretIdentifier(@Nullable Output secretIdentifier) {
            $.secretIdentifier = secretIdentifier;
            return this;
        }

        /**
         * @param secretIdentifier A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
         * 
         * @return builder
         * 
         */
        public Builder secretIdentifier(String secretIdentifier) {
            return secretIdentifier(Output.of(secretIdentifier));
        }

        /**
         * @param uri Git URI.
         * 
         * @return builder
         * 
         */
        public Builder uri(@Nullable Output uri) {
            $.uri = uri;
            return this;
        }

        /**
         * @param uri Git URI.
         * 
         * @return builder
         * 
         */
        public Builder uri(String uri) {
            return uri(Output.of(uri));
        }

        public GitCatalogArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy