sdk/java/src/main/java/com/pulumi/ovh/Dedicated/inputs/ServerNetworkingInterfaceArgs.java
// *** 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.ovh.Dedicated.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 ServerNetworkingInterfaceArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServerNetworkingInterfaceArgs Empty = new ServerNetworkingInterfaceArgs();

    /**
     * List of mac addresses to bind together.
     * 
     */
    @Import(name="macs", required=true)
    private Output<List<String>> macs;

    /**
     * @return List of mac addresses to bind together.
     * 
     */
    public Output<List<String>> macs() {
        return this.macs;
    }

    /**
     * Type of bonding to create.
     * 
     */
    @Import(name="type", required=true)
    private Output<String> type;

    /**
     * @return Type of bonding to create.
     * 
     */
    public Output<String> type() {
        return this.type;
    }

    private ServerNetworkingInterfaceArgs() {}

    private ServerNetworkingInterfaceArgs(ServerNetworkingInterfaceArgs $) {
        this.macs = $.macs;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ServerNetworkingInterfaceArgs $;

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

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

        /**
         * @param macs List of mac addresses to bind together.
         * 
         * @return builder
         * 
         */
        public Builder macs(Output<List<String>> macs) {
            $.macs = macs;
            return this;
        }

        /**
         * @param macs List of mac addresses to bind together.
         * 
         * @return builder
         * 
         */
        public Builder macs(List<String> macs) {
            return macs(Output.of(macs));
        }

        /**
         * @param macs List of mac addresses to bind together.
         * 
         * @return builder
         * 
         */
        public Builder macs(String... macs) {
            return macs(List.of(macs));
        }

        /**
         * @param type Type of bonding to create.
         * 
         * @return builder
         * 
         */
        public Builder type(Output<String> type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of bonding to create.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

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

}
