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

com.pulumi.azure.appplatform.outputs.GetSpringCloudServiceConfigServerGitSetting Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.15.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.azure.appplatform.outputs;

import com.pulumi.azure.appplatform.outputs.GetSpringCloudServiceConfigServerGitSettingHttpBasicAuth;
import com.pulumi.azure.appplatform.outputs.GetSpringCloudServiceConfigServerGitSettingRepository;
import com.pulumi.azure.appplatform.outputs.GetSpringCloudServiceConfigServerGitSettingSshAuth;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetSpringCloudServiceConfigServerGitSetting {
    /**
     * @return A `http_basic_auth` block as defined below.
     * 
     */
    private List httpBasicAuths;
    /**
     * @return The default label of the Git repository, which is a branch name, tag name, or commit-id of the repository
     * 
     */
    private String label;
    /**
     * @return One or more `repository` blocks as defined below.
     * 
     */
    private List repositories;
    /**
     * @return An array of strings used to search subdirectories of the Git repository.
     * 
     */
    private List searchPaths;
    /**
     * @return A `ssh_auth` block as defined below.
     * 
     */
    private List sshAuths;
    /**
     * @return The URI of the Git repository
     * 
     */
    private String uri;

    private GetSpringCloudServiceConfigServerGitSetting() {}
    /**
     * @return A `http_basic_auth` block as defined below.
     * 
     */
    public List httpBasicAuths() {
        return this.httpBasicAuths;
    }
    /**
     * @return The default label of the Git repository, which is a branch name, tag name, or commit-id of the repository
     * 
     */
    public String label() {
        return this.label;
    }
    /**
     * @return One or more `repository` blocks as defined below.
     * 
     */
    public List repositories() {
        return this.repositories;
    }
    /**
     * @return An array of strings used to search subdirectories of the Git repository.
     * 
     */
    public List searchPaths() {
        return this.searchPaths;
    }
    /**
     * @return A `ssh_auth` block as defined below.
     * 
     */
    public List sshAuths() {
        return this.sshAuths;
    }
    /**
     * @return The URI of the Git repository
     * 
     */
    public String uri() {
        return this.uri;
    }

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

    public static Builder builder(GetSpringCloudServiceConfigServerGitSetting defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List httpBasicAuths;
        private String label;
        private List repositories;
        private List searchPaths;
        private List sshAuths;
        private String uri;
        public Builder() {}
        public Builder(GetSpringCloudServiceConfigServerGitSetting defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.httpBasicAuths = defaults.httpBasicAuths;
    	      this.label = defaults.label;
    	      this.repositories = defaults.repositories;
    	      this.searchPaths = defaults.searchPaths;
    	      this.sshAuths = defaults.sshAuths;
    	      this.uri = defaults.uri;
        }

        @CustomType.Setter
        public Builder httpBasicAuths(List httpBasicAuths) {
            if (httpBasicAuths == null) {
              throw new MissingRequiredPropertyException("GetSpringCloudServiceConfigServerGitSetting", "httpBasicAuths");
            }
            this.httpBasicAuths = httpBasicAuths;
            return this;
        }
        public Builder httpBasicAuths(GetSpringCloudServiceConfigServerGitSettingHttpBasicAuth... httpBasicAuths) {
            return httpBasicAuths(List.of(httpBasicAuths));
        }
        @CustomType.Setter
        public Builder label(String label) {
            if (label == null) {
              throw new MissingRequiredPropertyException("GetSpringCloudServiceConfigServerGitSetting", "label");
            }
            this.label = label;
            return this;
        }
        @CustomType.Setter
        public Builder repositories(List repositories) {
            if (repositories == null) {
              throw new MissingRequiredPropertyException("GetSpringCloudServiceConfigServerGitSetting", "repositories");
            }
            this.repositories = repositories;
            return this;
        }
        public Builder repositories(GetSpringCloudServiceConfigServerGitSettingRepository... repositories) {
            return repositories(List.of(repositories));
        }
        @CustomType.Setter
        public Builder searchPaths(List searchPaths) {
            if (searchPaths == null) {
              throw new MissingRequiredPropertyException("GetSpringCloudServiceConfigServerGitSetting", "searchPaths");
            }
            this.searchPaths = searchPaths;
            return this;
        }
        public Builder searchPaths(String... searchPaths) {
            return searchPaths(List.of(searchPaths));
        }
        @CustomType.Setter
        public Builder sshAuths(List sshAuths) {
            if (sshAuths == null) {
              throw new MissingRequiredPropertyException("GetSpringCloudServiceConfigServerGitSetting", "sshAuths");
            }
            this.sshAuths = sshAuths;
            return this;
        }
        public Builder sshAuths(GetSpringCloudServiceConfigServerGitSettingSshAuth... sshAuths) {
            return sshAuths(List.of(sshAuths));
        }
        @CustomType.Setter
        public Builder uri(String uri) {
            if (uri == null) {
              throw new MissingRequiredPropertyException("GetSpringCloudServiceConfigServerGitSetting", "uri");
            }
            this.uri = uri;
            return this;
        }
        public GetSpringCloudServiceConfigServerGitSetting build() {
            final var _resultValue = new GetSpringCloudServiceConfigServerGitSetting();
            _resultValue.httpBasicAuths = httpBasicAuths;
            _resultValue.label = label;
            _resultValue.repositories = repositories;
            _resultValue.searchPaths = searchPaths;
            _resultValue.sshAuths = sshAuths;
            _resultValue.uri = uri;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy