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

import com.pulumi.azure.batch.outputs.GetPoolContainerConfigurationContainerRegistry;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetPoolContainerConfiguration {
    /**
     * @return A list of container image names to use, as would be specified by `docker pull`.
     * 
     */
    private List<String> containerImageNames;
    /**
     * @return Additional container registries from which container images can be pulled by the pool&#39;s VMs.
     * 
     */
    private List<GetPoolContainerConfigurationContainerRegistry> containerRegistries;
    /**
     * @return The type of container configuration.
     * 
     */
    private String type;

    private GetPoolContainerConfiguration() {}
    /**
     * @return A list of container image names to use, as would be specified by `docker pull`.
     * 
     */
    public List<String> containerImageNames() {
        return this.containerImageNames;
    }
    /**
     * @return Additional container registries from which container images can be pulled by the pool&#39;s VMs.
     * 
     */
    public List<GetPoolContainerConfigurationContainerRegistry> containerRegistries() {
        return this.containerRegistries;
    }
    /**
     * @return The type of container configuration.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetPoolContainerConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> containerImageNames;
        private List<GetPoolContainerConfigurationContainerRegistry> containerRegistries;
        private String type;
        public Builder() {}
        public Builder(GetPoolContainerConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.containerImageNames = defaults.containerImageNames;
    	      this.containerRegistries = defaults.containerRegistries;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder containerImageNames(List<String> containerImageNames) {
            this.containerImageNames = Objects.requireNonNull(containerImageNames);
            return this;
        }
        public Builder containerImageNames(String... containerImageNames) {
            return containerImageNames(List.of(containerImageNames));
        }
        @CustomType.Setter
        public Builder containerRegistries(List<GetPoolContainerConfigurationContainerRegistry> containerRegistries) {
            this.containerRegistries = Objects.requireNonNull(containerRegistries);
            return this;
        }
        public Builder containerRegistries(GetPoolContainerConfigurationContainerRegistry... containerRegistries) {
            return containerRegistries(List.of(containerRegistries));
        }
        @CustomType.Setter
        public Builder type(String type) {
            this.type = Objects.requireNonNull(type);
            return this;
        }
        public GetPoolContainerConfiguration build() {
            final var o = new GetPoolContainerConfiguration();
            o.containerImageNames = containerImageNames;
            o.containerRegistries = containerRegistries;
            o.type = type;
            return o;
        }
    }
}
