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

com.pulumi.azurenative.devcenter.outputs.GitCatalogResponse 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.outputs;

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

@CustomType
public final class GitCatalogResponse {
    /**
     * @return Git branch.
     * 
     */
    private @Nullable String branch;
    /**
     * @return The folder where the catalog items can be found inside the repository.
     * 
     */
    private @Nullable String path;
    /**
     * @return A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
     * 
     */
    private @Nullable String secretIdentifier;
    /**
     * @return Git URI.
     * 
     */
    private @Nullable String uri;

    private GitCatalogResponse() {}
    /**
     * @return Git branch.
     * 
     */
    public Optional branch() {
        return Optional.ofNullable(this.branch);
    }
    /**
     * @return The folder where the catalog items can be found inside the repository.
     * 
     */
    public Optional path() {
        return Optional.ofNullable(this.path);
    }
    /**
     * @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);
    }
    /**
     * @return Git URI.
     * 
     */
    public Optional uri() {
        return Optional.ofNullable(this.uri);
    }

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

    public static Builder builder(GitCatalogResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String branch;
        private @Nullable String path;
        private @Nullable String secretIdentifier;
        private @Nullable String uri;
        public Builder() {}
        public Builder(GitCatalogResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.branch = defaults.branch;
    	      this.path = defaults.path;
    	      this.secretIdentifier = defaults.secretIdentifier;
    	      this.uri = defaults.uri;
        }

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

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

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

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

            this.uri = uri;
            return this;
        }
        public GitCatalogResponse build() {
            final var _resultValue = new GitCatalogResponse();
            _resultValue.branch = branch;
            _resultValue.path = path;
            _resultValue.secretIdentifier = secretIdentifier;
            _resultValue.uri = uri;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy