All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.scvmm.inputs.NetworkProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.azurenative.scvmm.inputs;

import com.pulumi.azurenative.scvmm.inputs.NetworkInterfacesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Defines the resource properties.
 * 
 */
public final class NetworkProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkProfileArgs Empty = new NetworkProfileArgs();

    /**
     * Gets or sets the list of network interfaces associated with the virtual machine.
     * 
     */
    @Import(name="networkInterfaces")
    private @Nullable Output> networkInterfaces;

    /**
     * @return Gets or sets the list of network interfaces associated with the virtual machine.
     * 
     */
    public Optional>> networkInterfaces() {
        return Optional.ofNullable(this.networkInterfaces);
    }

    private NetworkProfileArgs() {}

    private NetworkProfileArgs(NetworkProfileArgs $) {
        this.networkInterfaces = $.networkInterfaces;
    }

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

    public static final class Builder {
        private NetworkProfileArgs $;

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

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

        /**
         * @param networkInterfaces Gets or sets the list of network interfaces associated with the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfaces(@Nullable Output> networkInterfaces) {
            $.networkInterfaces = networkInterfaces;
            return this;
        }

        /**
         * @param networkInterfaces Gets or sets the list of network interfaces associated with the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfaces(List networkInterfaces) {
            return networkInterfaces(Output.of(networkInterfaces));
        }

        /**
         * @param networkInterfaces Gets or sets the list of network interfaces associated with the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfaces(NetworkInterfacesArgs... networkInterfaces) {
            return networkInterfaces(List.of(networkInterfaces));
        }

        public NetworkProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy