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

com.pulumi.meraki.devices.ApplianceUplinksSettingsArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.devices;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.devices.inputs.ApplianceUplinksSettingsInterfacesArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApplianceUplinksSettingsArgs Empty = new ApplianceUplinksSettingsArgs();

    /**
     * Interface settings.
     * 
     */
    @Import(name="interfaces")
    private @Nullable Output interfaces;

    /**
     * @return Interface settings.
     * 
     */
    public Optional> interfaces() {
        return Optional.ofNullable(this.interfaces);
    }

    /**
     * serial path parameter.
     * 
     */
    @Import(name="serial", required=true)
    private Output serial;

    /**
     * @return serial path parameter.
     * 
     */
    public Output serial() {
        return this.serial;
    }

    private ApplianceUplinksSettingsArgs() {}

    private ApplianceUplinksSettingsArgs(ApplianceUplinksSettingsArgs $) {
        this.interfaces = $.interfaces;
        this.serial = $.serial;
    }

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

    public static final class Builder {
        private ApplianceUplinksSettingsArgs $;

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

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

        /**
         * @param interfaces Interface settings.
         * 
         * @return builder
         * 
         */
        public Builder interfaces(@Nullable Output interfaces) {
            $.interfaces = interfaces;
            return this;
        }

        /**
         * @param interfaces Interface settings.
         * 
         * @return builder
         * 
         */
        public Builder interfaces(ApplianceUplinksSettingsInterfacesArgs interfaces) {
            return interfaces(Output.of(interfaces));
        }

        /**
         * @param serial serial path parameter.
         * 
         * @return builder
         * 
         */
        public Builder serial(Output serial) {
            $.serial = serial;
            return this;
        }

        /**
         * @param serial serial path parameter.
         * 
         * @return builder
         * 
         */
        public Builder serial(String serial) {
            return serial(Output.of(serial));
        }

        public ApplianceUplinksSettingsArgs build() {
            if ($.serial == null) {
                throw new MissingRequiredPropertyException("ApplianceUplinksSettingsArgs", "serial");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy