
com.pulumi.azurenative.avs.outputs.GetGlobalReachConnectionResult 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.avs.outputs;
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 GetGlobalReachConnectionResult {
/**
* @return The network used for global reach carved out from the original network block provided for the private cloud
*
*/
private String addressPrefix;
/**
* @return Authorization key from the peer express route used for the global reach connection
*
*/
private @Nullable String authorizationKey;
/**
* @return The connection status of the global reach connection
*
*/
private String circuitConnectionStatus;
/**
* @return The ID of the Private Cloud's ExpressRoute Circuit that is participating in the global reach connection
*
*/
private @Nullable String expressRouteId;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return Identifier of the ExpressRoute Circuit to peer with in the global reach connection
*
*/
private @Nullable String peerExpressRouteCircuit;
/**
* @return The state of the ExpressRoute Circuit Authorization provisioning
*
*/
private String provisioningState;
/**
* @return Resource type.
*
*/
private String type;
private GetGlobalReachConnectionResult() {}
/**
* @return The network used for global reach carved out from the original network block provided for the private cloud
*
*/
public String addressPrefix() {
return this.addressPrefix;
}
/**
* @return Authorization key from the peer express route used for the global reach connection
*
*/
public Optional authorizationKey() {
return Optional.ofNullable(this.authorizationKey);
}
/**
* @return The connection status of the global reach connection
*
*/
public String circuitConnectionStatus() {
return this.circuitConnectionStatus;
}
/**
* @return The ID of the Private Cloud's ExpressRoute Circuit that is participating in the global reach connection
*
*/
public Optional expressRouteId() {
return Optional.ofNullable(this.expressRouteId);
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return Identifier of the ExpressRoute Circuit to peer with in the global reach connection
*
*/
public Optional peerExpressRouteCircuit() {
return Optional.ofNullable(this.peerExpressRouteCircuit);
}
/**
* @return The state of the ExpressRoute Circuit Authorization provisioning
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGlobalReachConnectionResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String addressPrefix;
private @Nullable String authorizationKey;
private String circuitConnectionStatus;
private @Nullable String expressRouteId;
private String id;
private String name;
private @Nullable String peerExpressRouteCircuit;
private String provisioningState;
private String type;
public Builder() {}
public Builder(GetGlobalReachConnectionResult defaults) {
Objects.requireNonNull(defaults);
this.addressPrefix = defaults.addressPrefix;
this.authorizationKey = defaults.authorizationKey;
this.circuitConnectionStatus = defaults.circuitConnectionStatus;
this.expressRouteId = defaults.expressRouteId;
this.id = defaults.id;
this.name = defaults.name;
this.peerExpressRouteCircuit = defaults.peerExpressRouteCircuit;
this.provisioningState = defaults.provisioningState;
this.type = defaults.type;
}
@CustomType.Setter
public Builder addressPrefix(String addressPrefix) {
if (addressPrefix == null) {
throw new MissingRequiredPropertyException("GetGlobalReachConnectionResult", "addressPrefix");
}
this.addressPrefix = addressPrefix;
return this;
}
@CustomType.Setter
public Builder authorizationKey(@Nullable String authorizationKey) {
this.authorizationKey = authorizationKey;
return this;
}
@CustomType.Setter
public Builder circuitConnectionStatus(String circuitConnectionStatus) {
if (circuitConnectionStatus == null) {
throw new MissingRequiredPropertyException("GetGlobalReachConnectionResult", "circuitConnectionStatus");
}
this.circuitConnectionStatus = circuitConnectionStatus;
return this;
}
@CustomType.Setter
public Builder expressRouteId(@Nullable String expressRouteId) {
this.expressRouteId = expressRouteId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetGlobalReachConnectionResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetGlobalReachConnectionResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder peerExpressRouteCircuit(@Nullable String peerExpressRouteCircuit) {
this.peerExpressRouteCircuit = peerExpressRouteCircuit;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetGlobalReachConnectionResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetGlobalReachConnectionResult", "type");
}
this.type = type;
return this;
}
public GetGlobalReachConnectionResult build() {
final var _resultValue = new GetGlobalReachConnectionResult();
_resultValue.addressPrefix = addressPrefix;
_resultValue.authorizationKey = authorizationKey;
_resultValue.circuitConnectionStatus = circuitConnectionStatus;
_resultValue.expressRouteId = expressRouteId;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.peerExpressRouteCircuit = peerExpressRouteCircuit;
_resultValue.provisioningState = provisioningState;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy