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

com.pulumi.googlenative.artifactregistry.v1.outputs.VirtualRepositoryConfigResponse 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.UpstreamPolicyResponse;
import java.util.List;
import java.util.Objects;

@CustomType
public final class VirtualRepositoryConfigResponse {
    /**
     * @return Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
     * 
     */
    private List upstreamPolicies;

    private VirtualRepositoryConfigResponse() {}
    /**
     * @return Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.
     * 
     */
    public List upstreamPolicies() {
        return this.upstreamPolicies;
    }

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

    public static Builder builder(VirtualRepositoryConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List upstreamPolicies;
        public Builder() {}
        public Builder(VirtualRepositoryConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.upstreamPolicies = defaults.upstreamPolicies;
        }

        @CustomType.Setter
        public Builder upstreamPolicies(List upstreamPolicies) {
            this.upstreamPolicies = Objects.requireNonNull(upstreamPolicies);
            return this;
        }
        public Builder upstreamPolicies(UpstreamPolicyResponse... upstreamPolicies) {
            return upstreamPolicies(List.of(upstreamPolicies));
        }
        public VirtualRepositoryConfigResponse build() {
            final var o = new VirtualRepositoryConfigResponse();
            o.upstreamPolicies = upstreamPolicies;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy