// *** 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.aws.sagemaker.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;


public final class WorkforceSourceIpConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkforceSourceIpConfigArgs Empty = new WorkforceSourceIpConfigArgs();

    /**
     * A list of up to 10 CIDR values.
     * 
     */
    @Import(name="cidrs", required=true)
    private Output<List<String>> cidrs;

    /**
     * @return A list of up to 10 CIDR values.
     * 
     */
    public Output<List<String>> cidrs() {
        return this.cidrs;
    }

    private WorkforceSourceIpConfigArgs() {}

    private WorkforceSourceIpConfigArgs(WorkforceSourceIpConfigArgs $) {
        this.cidrs = $.cidrs;
    }

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

    public static final class Builder {
        private WorkforceSourceIpConfigArgs $;

        public Builder() {
            $ = new WorkforceSourceIpConfigArgs();
        }

        public Builder(WorkforceSourceIpConfigArgs defaults) {
            $ = new WorkforceSourceIpConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param cidrs A list of up to 10 CIDR values.
         * 
         * @return builder
         * 
         */
        public Builder cidrs(Output<List<String>> cidrs) {
            $.cidrs = cidrs;
            return this;
        }

        /**
         * @param cidrs A list of up to 10 CIDR values.
         * 
         * @return builder
         * 
         */
        public Builder cidrs(List<String> cidrs) {
            return cidrs(Output.of(cidrs));
        }

        /**
         * @param cidrs A list of up to 10 CIDR values.
         * 
         * @return builder
         * 
         */
        public Builder cidrs(String... cidrs) {
            return cidrs(List.of(cidrs));
        }

        public WorkforceSourceIpConfigArgs build() {
            $.cidrs = Objects.requireNonNull($.cidrs, "expected parameter 'cidrs' to be non-null");
            return $;
        }
    }

}
