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

com.pulumi.googlenative.artifactregistry.v1.outputs.RemoteRepositoryConfigResponse Maven / Gradle / Ivy

// *** 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.googlenative.artifactregistry.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.artifactregistry.v1.outputs.DockerRepositoryResponse;
import com.pulumi.googlenative.artifactregistry.v1.outputs.MavenRepositoryResponse;
import com.pulumi.googlenative.artifactregistry.v1.outputs.NpmRepositoryResponse;
import com.pulumi.googlenative.artifactregistry.v1.outputs.PythonRepositoryResponse;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class RemoteRepositoryConfigResponse {
    /**
     * @return The description of the remote source.
     * 
     */
    private String description;
    /**
     * @return Specific settings for a Docker remote repository.
     * 
     */
    private DockerRepositoryResponse dockerRepository;
    /**
     * @return Specific settings for a Maven remote repository.
     * 
     */
    private MavenRepositoryResponse mavenRepository;
    /**
     * @return Specific settings for an Npm remote repository.
     * 
     */
    private NpmRepositoryResponse npmRepository;
    /**
     * @return Specific settings for a Python remote repository.
     * 
     */
    private PythonRepositoryResponse pythonRepository;

    private RemoteRepositoryConfigResponse() {}
    /**
     * @return The description of the remote source.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return Specific settings for a Docker remote repository.
     * 
     */
    public DockerRepositoryResponse dockerRepository() {
        return this.dockerRepository;
    }
    /**
     * @return Specific settings for a Maven remote repository.
     * 
     */
    public MavenRepositoryResponse mavenRepository() {
        return this.mavenRepository;
    }
    /**
     * @return Specific settings for an Npm remote repository.
     * 
     */
    public NpmRepositoryResponse npmRepository() {
        return this.npmRepository;
    }
    /**
     * @return Specific settings for a Python remote repository.
     * 
     */
    public PythonRepositoryResponse pythonRepository() {
        return this.pythonRepository;
    }

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

    public static Builder builder(RemoteRepositoryConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String description;
        private DockerRepositoryResponse dockerRepository;
        private MavenRepositoryResponse mavenRepository;
        private NpmRepositoryResponse npmRepository;
        private PythonRepositoryResponse pythonRepository;
        public Builder() {}
        public Builder(RemoteRepositoryConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.dockerRepository = defaults.dockerRepository;
    	      this.mavenRepository = defaults.mavenRepository;
    	      this.npmRepository = defaults.npmRepository;
    	      this.pythonRepository = defaults.pythonRepository;
        }

        @CustomType.Setter
        public Builder description(String description) {
            this.description = Objects.requireNonNull(description);
            return this;
        }
        @CustomType.Setter
        public Builder dockerRepository(DockerRepositoryResponse dockerRepository) {
            this.dockerRepository = Objects.requireNonNull(dockerRepository);
            return this;
        }
        @CustomType.Setter
        public Builder mavenRepository(MavenRepositoryResponse mavenRepository) {
            this.mavenRepository = Objects.requireNonNull(mavenRepository);
            return this;
        }
        @CustomType.Setter
        public Builder npmRepository(NpmRepositoryResponse npmRepository) {
            this.npmRepository = Objects.requireNonNull(npmRepository);
            return this;
        }
        @CustomType.Setter
        public Builder pythonRepository(PythonRepositoryResponse pythonRepository) {
            this.pythonRepository = Objects.requireNonNull(pythonRepository);
            return this;
        }
        public RemoteRepositoryConfigResponse build() {
            final var o = new RemoteRepositoryConfigResponse();
            o.description = description;
            o.dockerRepository = dockerRepository;
            o.mavenRepository = mavenRepository;
            o.npmRepository = npmRepository;
            o.pythonRepository = pythonRepository;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy