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

com.pulumi.azure.expressroute.inputs.GetCircuitPeeringPlainArgs 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.azure.expressroute.inputs;

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


public final class GetCircuitPeeringPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCircuitPeeringPlainArgs Empty = new GetCircuitPeeringPlainArgs();

    /**
     * The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="expressRouteCircuitName", required=true)
    private String expressRouteCircuitName;

    /**
     * @return The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
     * 
     */
    public String expressRouteCircuitName() {
        return this.expressRouteCircuitName;
    }

    /**
     * The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
     * 
     */
    @Import(name="peeringType", required=true)
    private String peeringType;

    /**
     * @return The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
     * 
     */
    public String peeringType() {
        return this.peeringType;
    }

    /**
     * The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetCircuitPeeringPlainArgs() {}

    private GetCircuitPeeringPlainArgs(GetCircuitPeeringPlainArgs $) {
        this.expressRouteCircuitName = $.expressRouteCircuitName;
        this.peeringType = $.peeringType;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetCircuitPeeringPlainArgs $;

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

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

        /**
         * @param expressRouteCircuitName The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteCircuitName(String expressRouteCircuitName) {
            $.expressRouteCircuitName = expressRouteCircuitName;
            return this;
        }

        /**
         * @param peeringType The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
         * 
         * @return builder
         * 
         */
        public Builder peeringType(String peeringType) {
            $.peeringType = peeringType;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetCircuitPeeringPlainArgs build() {
            if ($.expressRouteCircuitName == null) {
                throw new MissingRequiredPropertyException("GetCircuitPeeringPlainArgs", "expressRouteCircuitName");
            }
            if ($.peeringType == null) {
                throw new MissingRequiredPropertyException("GetCircuitPeeringPlainArgs", "peeringType");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetCircuitPeeringPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy