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

com.pulumi.azurenative.avs.outputs.CircuitResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.avs.outputs;

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

@CustomType
public final class CircuitResponse {
    /**
     * @return Identifier of the ExpressRoute Circuit (Microsoft Colo only)
     * 
     */
    private String expressRouteID;
    /**
     * @return ExpressRoute Circuit private peering identifier
     * 
     */
    private String expressRoutePrivatePeeringID;
    /**
     * @return CIDR of primary subnet
     * 
     */
    private String primarySubnet;
    /**
     * @return CIDR of secondary subnet
     * 
     */
    private String secondarySubnet;

    private CircuitResponse() {}
    /**
     * @return Identifier of the ExpressRoute Circuit (Microsoft Colo only)
     * 
     */
    public String expressRouteID() {
        return this.expressRouteID;
    }
    /**
     * @return ExpressRoute Circuit private peering identifier
     * 
     */
    public String expressRoutePrivatePeeringID() {
        return this.expressRoutePrivatePeeringID;
    }
    /**
     * @return CIDR of primary subnet
     * 
     */
    public String primarySubnet() {
        return this.primarySubnet;
    }
    /**
     * @return CIDR of secondary subnet
     * 
     */
    public String secondarySubnet() {
        return this.secondarySubnet;
    }

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

    public static Builder builder(CircuitResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String expressRouteID;
        private String expressRoutePrivatePeeringID;
        private String primarySubnet;
        private String secondarySubnet;
        public Builder() {}
        public Builder(CircuitResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.expressRouteID = defaults.expressRouteID;
    	      this.expressRoutePrivatePeeringID = defaults.expressRoutePrivatePeeringID;
    	      this.primarySubnet = defaults.primarySubnet;
    	      this.secondarySubnet = defaults.secondarySubnet;
        }

        @CustomType.Setter
        public Builder expressRouteID(String expressRouteID) {
            if (expressRouteID == null) {
              throw new MissingRequiredPropertyException("CircuitResponse", "expressRouteID");
            }
            this.expressRouteID = expressRouteID;
            return this;
        }
        @CustomType.Setter
        public Builder expressRoutePrivatePeeringID(String expressRoutePrivatePeeringID) {
            if (expressRoutePrivatePeeringID == null) {
              throw new MissingRequiredPropertyException("CircuitResponse", "expressRoutePrivatePeeringID");
            }
            this.expressRoutePrivatePeeringID = expressRoutePrivatePeeringID;
            return this;
        }
        @CustomType.Setter
        public Builder primarySubnet(String primarySubnet) {
            if (primarySubnet == null) {
              throw new MissingRequiredPropertyException("CircuitResponse", "primarySubnet");
            }
            this.primarySubnet = primarySubnet;
            return this;
        }
        @CustomType.Setter
        public Builder secondarySubnet(String secondarySubnet) {
            if (secondarySubnet == null) {
              throw new MissingRequiredPropertyException("CircuitResponse", "secondarySubnet");
            }
            this.secondarySubnet = secondarySubnet;
            return this;
        }
        public CircuitResponse build() {
            final var _resultValue = new CircuitResponse();
            _resultValue.expressRouteID = expressRouteID;
            _resultValue.expressRoutePrivatePeeringID = expressRoutePrivatePeeringID;
            _resultValue.primarySubnet = primarySubnet;
            _resultValue.secondarySubnet = secondarySubnet;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy