// *** 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.gcp.container.outputs;

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

@CustomType
public final class GetAzureVersionsResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private @Nullable String location;
    private @Nullable String project;
    /**
     * @return A list of Azure regions that are available for use with this project and GCP location.
     * 
     */
    private List<String> supportedRegions;
    /**
     * @return A list of versions available for use with this project and location.
     * 
     */
    private List<String> validVersions;

    private GetAzureVersionsResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Optional<String> location() {
        return Optional.ofNullable(this.location);
    }
    public Optional<String> project() {
        return Optional.ofNullable(this.project);
    }
    /**
     * @return A list of Azure regions that are available for use with this project and GCP location.
     * 
     */
    public List<String> supportedRegions() {
        return this.supportedRegions;
    }
    /**
     * @return A list of versions available for use with this project and location.
     * 
     */
    public List<String> validVersions() {
        return this.validVersions;
    }

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

    public static Builder builder(GetAzureVersionsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private @Nullable String location;
        private @Nullable String project;
        private List<String> supportedRegions;
        private List<String> validVersions;
        public Builder() {}
        public Builder(GetAzureVersionsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.project = defaults.project;
    	      this.supportedRegions = defaults.supportedRegions;
    	      this.validVersions = defaults.validVersions;
        }

        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder project(@Nullable String project) {
            this.project = project;
            return this;
        }
        @CustomType.Setter
        public Builder supportedRegions(List<String> supportedRegions) {
            this.supportedRegions = Objects.requireNonNull(supportedRegions);
            return this;
        }
        public Builder supportedRegions(String... supportedRegions) {
            return supportedRegions(List.of(supportedRegions));
        }
        @CustomType.Setter
        public Builder validVersions(List<String> validVersions) {
            this.validVersions = Objects.requireNonNull(validVersions);
            return this;
        }
        public Builder validVersions(String... validVersions) {
            return validVersions(List.of(validVersions));
        }
        public GetAzureVersionsResult build() {
            final var o = new GetAzureVersionsResult();
            o.id = id;
            o.location = location;
            o.project = project;
            o.supportedRegions = supportedRegions;
            o.validVersions = validVersions;
            return o;
        }
    }
}
