sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/GetCapabilitiesContainerRegistryInvokeResult.java
// *** 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.ovh.CloudProject.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.ovh.CloudProject.outputs.GetCapabilitiesContainerRegistryResult;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetCapabilitiesContainerRegistryInvokeResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return List of container registry capability for a single region
     * 
     */
    private List<GetCapabilitiesContainerRegistryResult> results;
    private String serviceName;

    private GetCapabilitiesContainerRegistryInvokeResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return List of container registry capability for a single region
     * 
     */
    public List<GetCapabilitiesContainerRegistryResult> results() {
        return this.results;
    }
    public String serviceName() {
        return this.serviceName;
    }

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

    public static Builder builder(GetCapabilitiesContainerRegistryInvokeResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private List<GetCapabilitiesContainerRegistryResult> results;
        private String serviceName;
        public Builder() {}
        public Builder(GetCapabilitiesContainerRegistryInvokeResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.results = defaults.results;
    	      this.serviceName = defaults.serviceName;
        }

        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder results(List<GetCapabilitiesContainerRegistryResult> results) {
            this.results = Objects.requireNonNull(results);
            return this;
        }
        public Builder results(GetCapabilitiesContainerRegistryResult... results) {
            return results(List.of(results));
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            this.serviceName = Objects.requireNonNull(serviceName);
            return this;
        }
        public GetCapabilitiesContainerRegistryInvokeResult build() {
            final var o = new GetCapabilitiesContainerRegistryInvokeResult();
            o.id = id;
            o.results = results;
            o.serviceName = serviceName;
            return o;
        }
    }
}
