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

com.pulumi.azurenative.network.outputs.PeerExpressRouteCircuitConnectionResponse 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.network.outputs;

import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PeerExpressRouteCircuitConnectionResponse {
    /**
     * @return /29 IP address space to carve out Customer addresses for tunnels.
     * 
     */
    private @Nullable String addressPrefix;
    /**
     * @return The resource guid of the authorization used for the express route circuit connection.
     * 
     */
    private @Nullable String authResourceGuid;
    /**
     * @return Express Route Circuit connection state.
     * 
     */
    private String circuitConnectionStatus;
    /**
     * @return The name of the express route circuit connection resource.
     * 
     */
    private @Nullable String connectionName;
    /**
     * @return A unique read-only string that changes whenever the resource is updated.
     * 
     */
    private String etag;
    /**
     * @return Reference to Express Route Circuit Private Peering Resource of the circuit.
     * 
     */
    private @Nullable SubResourceResponse expressRouteCircuitPeering;
    /**
     * @return Resource ID.
     * 
     */
    private @Nullable String id;
    /**
     * @return The name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    private @Nullable String name;
    /**
     * @return Reference to Express Route Circuit Private Peering Resource of the peered circuit.
     * 
     */
    private @Nullable SubResourceResponse peerExpressRouteCircuitPeering;
    /**
     * @return The provisioning state of the peer express route circuit connection resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Type of the resource.
     * 
     */
    private String type;

    private PeerExpressRouteCircuitConnectionResponse() {}
    /**
     * @return /29 IP address space to carve out Customer addresses for tunnels.
     * 
     */
    public Optional addressPrefix() {
        return Optional.ofNullable(this.addressPrefix);
    }
    /**
     * @return The resource guid of the authorization used for the express route circuit connection.
     * 
     */
    public Optional authResourceGuid() {
        return Optional.ofNullable(this.authResourceGuid);
    }
    /**
     * @return Express Route Circuit connection state.
     * 
     */
    public String circuitConnectionStatus() {
        return this.circuitConnectionStatus;
    }
    /**
     * @return The name of the express route circuit connection resource.
     * 
     */
    public Optional connectionName() {
        return Optional.ofNullable(this.connectionName);
    }
    /**
     * @return A unique read-only string that changes whenever the resource is updated.
     * 
     */
    public String etag() {
        return this.etag;
    }
    /**
     * @return Reference to Express Route Circuit Private Peering Resource of the circuit.
     * 
     */
    public Optional expressRouteCircuitPeering() {
        return Optional.ofNullable(this.expressRouteCircuitPeering);
    }
    /**
     * @return Resource ID.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return The name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return Reference to Express Route Circuit Private Peering Resource of the peered circuit.
     * 
     */
    public Optional peerExpressRouteCircuitPeering() {
        return Optional.ofNullable(this.peerExpressRouteCircuitPeering);
    }
    /**
     * @return The provisioning state of the peer express route circuit connection resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(PeerExpressRouteCircuitConnectionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String addressPrefix;
        private @Nullable String authResourceGuid;
        private String circuitConnectionStatus;
        private @Nullable String connectionName;
        private String etag;
        private @Nullable SubResourceResponse expressRouteCircuitPeering;
        private @Nullable String id;
        private @Nullable String name;
        private @Nullable SubResourceResponse peerExpressRouteCircuitPeering;
        private String provisioningState;
        private String type;
        public Builder() {}
        public Builder(PeerExpressRouteCircuitConnectionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.addressPrefix = defaults.addressPrefix;
    	      this.authResourceGuid = defaults.authResourceGuid;
    	      this.circuitConnectionStatus = defaults.circuitConnectionStatus;
    	      this.connectionName = defaults.connectionName;
    	      this.etag = defaults.etag;
    	      this.expressRouteCircuitPeering = defaults.expressRouteCircuitPeering;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.peerExpressRouteCircuitPeering = defaults.peerExpressRouteCircuitPeering;
    	      this.provisioningState = defaults.provisioningState;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder addressPrefix(@Nullable String addressPrefix) {

            this.addressPrefix = addressPrefix;
            return this;
        }
        @CustomType.Setter
        public Builder authResourceGuid(@Nullable String authResourceGuid) {

            this.authResourceGuid = authResourceGuid;
            return this;
        }
        @CustomType.Setter
        public Builder circuitConnectionStatus(String circuitConnectionStatus) {
            if (circuitConnectionStatus == null) {
              throw new MissingRequiredPropertyException("PeerExpressRouteCircuitConnectionResponse", "circuitConnectionStatus");
            }
            this.circuitConnectionStatus = circuitConnectionStatus;
            return this;
        }
        @CustomType.Setter
        public Builder connectionName(@Nullable String connectionName) {

            this.connectionName = connectionName;
            return this;
        }
        @CustomType.Setter
        public Builder etag(String etag) {
            if (etag == null) {
              throw new MissingRequiredPropertyException("PeerExpressRouteCircuitConnectionResponse", "etag");
            }
            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder expressRouteCircuitPeering(@Nullable SubResourceResponse expressRouteCircuitPeering) {

            this.expressRouteCircuitPeering = expressRouteCircuitPeering;
            return this;
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder peerExpressRouteCircuitPeering(@Nullable SubResourceResponse peerExpressRouteCircuitPeering) {

            this.peerExpressRouteCircuitPeering = peerExpressRouteCircuitPeering;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("PeerExpressRouteCircuitConnectionResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("PeerExpressRouteCircuitConnectionResponse", "type");
            }
            this.type = type;
            return this;
        }
        public PeerExpressRouteCircuitConnectionResponse build() {
            final var _resultValue = new PeerExpressRouteCircuitConnectionResponse();
            _resultValue.addressPrefix = addressPrefix;
            _resultValue.authResourceGuid = authResourceGuid;
            _resultValue.circuitConnectionStatus = circuitConnectionStatus;
            _resultValue.connectionName = connectionName;
            _resultValue.etag = etag;
            _resultValue.expressRouteCircuitPeering = expressRouteCircuitPeering;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.peerExpressRouteCircuitPeering = peerExpressRouteCircuitPeering;
            _resultValue.provisioningState = provisioningState;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy