// *** 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.hsm.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 ModuleNetworkProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final ModuleNetworkProfileArgs Empty = new ModuleNetworkProfileArgs();

    /**
     * The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    @Import(name="networkInterfacePrivateIpAddresses", required=true)
    private Output<List<String>> networkInterfacePrivateIpAddresses;

    /**
     * @return The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    public Output<List<String>> networkInterfacePrivateIpAddresses() {
        return this.networkInterfacePrivateIpAddresses;
    }

    /**
     * The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    @Import(name="subnetId", required=true)
    private Output<String> subnetId;

    /**
     * @return The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    public Output<String> subnetId() {
        return this.subnetId;
    }

    private ModuleNetworkProfileArgs() {}

    private ModuleNetworkProfileArgs(ModuleNetworkProfileArgs $) {
        this.networkInterfacePrivateIpAddresses = $.networkInterfacePrivateIpAddresses;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private ModuleNetworkProfileArgs $;

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

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

        /**
         * @param networkInterfacePrivateIpAddresses The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfacePrivateIpAddresses(Output<List<String>> networkInterfacePrivateIpAddresses) {
            $.networkInterfacePrivateIpAddresses = networkInterfacePrivateIpAddresses;
            return this;
        }

        /**
         * @param networkInterfacePrivateIpAddresses The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfacePrivateIpAddresses(List<String> networkInterfacePrivateIpAddresses) {
            return networkInterfacePrivateIpAddresses(Output.of(networkInterfacePrivateIpAddresses));
        }

        /**
         * @param networkInterfacePrivateIpAddresses The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfacePrivateIpAddresses(String... networkInterfacePrivateIpAddresses) {
            return networkInterfacePrivateIpAddresses(List.of(networkInterfacePrivateIpAddresses));
        }

        /**
         * @param subnetId The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(Output<String> subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

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

}
