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

com.pulumi.azurenative.managednetworkfabric.inputs.ExpressRouteConnectionInformationArgs Maven / Gradle / Ivy

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

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


/**
 * The ExpressRoute circuit ID and the Auth Key are required for you to successfully deploy NFC service.
 * 
 */
public final class ExpressRouteConnectionInformationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExpressRouteConnectionInformationArgs Empty = new ExpressRouteConnectionInformationArgs();

    /**
     * Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.
     * 
     */
    @Import(name="expressRouteAuthorizationKey", required=true)
    private Output expressRouteAuthorizationKey;

    /**
     * @return Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.
     * 
     */
    public Output expressRouteAuthorizationKey() {
        return this.expressRouteAuthorizationKey;
    }

    /**
     * The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute.
     * 
     */
    @Import(name="expressRouteCircuitId", required=true)
    private Output expressRouteCircuitId;

    /**
     * @return The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute.
     * 
     */
    public Output expressRouteCircuitId() {
        return this.expressRouteCircuitId;
    }

    private ExpressRouteConnectionInformationArgs() {}

    private ExpressRouteConnectionInformationArgs(ExpressRouteConnectionInformationArgs $) {
        this.expressRouteAuthorizationKey = $.expressRouteAuthorizationKey;
        this.expressRouteCircuitId = $.expressRouteCircuitId;
    }

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

    public static final class Builder {
        private ExpressRouteConnectionInformationArgs $;

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

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

        /**
         * @param expressRouteAuthorizationKey Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteAuthorizationKey(Output expressRouteAuthorizationKey) {
            $.expressRouteAuthorizationKey = expressRouteAuthorizationKey;
            return this;
        }

        /**
         * @param expressRouteAuthorizationKey Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteAuthorizationKey(String expressRouteAuthorizationKey) {
            return expressRouteAuthorizationKey(Output.of(expressRouteAuthorizationKey));
        }

        /**
         * @param expressRouteCircuitId The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteCircuitId(Output expressRouteCircuitId) {
            $.expressRouteCircuitId = expressRouteCircuitId;
            return this;
        }

        /**
         * @param expressRouteCircuitId The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteCircuitId(String expressRouteCircuitId) {
            return expressRouteCircuitId(Output.of(expressRouteCircuitId));
        }

        public ExpressRouteConnectionInformationArgs build() {
            if ($.expressRouteAuthorizationKey == null) {
                throw new MissingRequiredPropertyException("ExpressRouteConnectionInformationArgs", "expressRouteAuthorizationKey");
            }
            if ($.expressRouteCircuitId == null) {
                throw new MissingRequiredPropertyException("ExpressRouteConnectionInformationArgs", "expressRouteCircuitId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy