
com.pulumi.azurenative.managednetworkfabric.outputs.ExternalNetworkPropertiesResponseOptionAProperties 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.outputs;
import com.pulumi.azurenative.managednetworkfabric.outputs.BfdConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ExternalNetworkPropertiesResponseOptionAProperties {
/**
* @return BFD configuration properties
*
*/
private @Nullable BfdConfigurationResponse bfdConfiguration;
/**
* @return Fabric ASN number. Example 65001
*
*/
private Integer fabricASN;
/**
* @return MTU to use for option A peering.
*
*/
private @Nullable Integer mtu;
/**
* @return Peer ASN number.Example : 28
*
*/
private Integer peerASN;
/**
* @return IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
private @Nullable String primaryIpv4Prefix;
/**
* @return IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
private @Nullable String primaryIpv6Prefix;
/**
* @return Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
private @Nullable String secondaryIpv4Prefix;
/**
* @return Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
private @Nullable String secondaryIpv6Prefix;
/**
* @return Vlan identifier. Example : 501
*
*/
private Integer vlanId;
private ExternalNetworkPropertiesResponseOptionAProperties() {}
/**
* @return BFD configuration properties
*
*/
public Optional bfdConfiguration() {
return Optional.ofNullable(this.bfdConfiguration);
}
/**
* @return Fabric ASN number. Example 65001
*
*/
public Integer fabricASN() {
return this.fabricASN;
}
/**
* @return MTU to use for option A peering.
*
*/
public Optional mtu() {
return Optional.ofNullable(this.mtu);
}
/**
* @return Peer ASN number.Example : 28
*
*/
public Integer peerASN() {
return this.peerASN;
}
/**
* @return IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
public Optional primaryIpv4Prefix() {
return Optional.ofNullable(this.primaryIpv4Prefix);
}
/**
* @return IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
public Optional primaryIpv6Prefix() {
return Optional.ofNullable(this.primaryIpv6Prefix);
}
/**
* @return Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
public Optional secondaryIpv4Prefix() {
return Optional.ofNullable(this.secondaryIpv4Prefix);
}
/**
* @return Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
*
*/
public Optional secondaryIpv6Prefix() {
return Optional.ofNullable(this.secondaryIpv6Prefix);
}
/**
* @return Vlan identifier. Example : 501
*
*/
public Integer vlanId() {
return this.vlanId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExternalNetworkPropertiesResponseOptionAProperties defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable BfdConfigurationResponse bfdConfiguration;
private Integer fabricASN;
private @Nullable Integer mtu;
private Integer peerASN;
private @Nullable String primaryIpv4Prefix;
private @Nullable String primaryIpv6Prefix;
private @Nullable String secondaryIpv4Prefix;
private @Nullable String secondaryIpv6Prefix;
private Integer vlanId;
public Builder() {}
public Builder(ExternalNetworkPropertiesResponseOptionAProperties defaults) {
Objects.requireNonNull(defaults);
this.bfdConfiguration = defaults.bfdConfiguration;
this.fabricASN = defaults.fabricASN;
this.mtu = defaults.mtu;
this.peerASN = defaults.peerASN;
this.primaryIpv4Prefix = defaults.primaryIpv4Prefix;
this.primaryIpv6Prefix = defaults.primaryIpv6Prefix;
this.secondaryIpv4Prefix = defaults.secondaryIpv4Prefix;
this.secondaryIpv6Prefix = defaults.secondaryIpv6Prefix;
this.vlanId = defaults.vlanId;
}
@CustomType.Setter
public Builder bfdConfiguration(@Nullable BfdConfigurationResponse bfdConfiguration) {
this.bfdConfiguration = bfdConfiguration;
return this;
}
@CustomType.Setter
public Builder fabricASN(Integer fabricASN) {
if (fabricASN == null) {
throw new MissingRequiredPropertyException("ExternalNetworkPropertiesResponseOptionAProperties", "fabricASN");
}
this.fabricASN = fabricASN;
return this;
}
@CustomType.Setter
public Builder mtu(@Nullable Integer mtu) {
this.mtu = mtu;
return this;
}
@CustomType.Setter
public Builder peerASN(Integer peerASN) {
if (peerASN == null) {
throw new MissingRequiredPropertyException("ExternalNetworkPropertiesResponseOptionAProperties", "peerASN");
}
this.peerASN = peerASN;
return this;
}
@CustomType.Setter
public Builder primaryIpv4Prefix(@Nullable String primaryIpv4Prefix) {
this.primaryIpv4Prefix = primaryIpv4Prefix;
return this;
}
@CustomType.Setter
public Builder primaryIpv6Prefix(@Nullable String primaryIpv6Prefix) {
this.primaryIpv6Prefix = primaryIpv6Prefix;
return this;
}
@CustomType.Setter
public Builder secondaryIpv4Prefix(@Nullable String secondaryIpv4Prefix) {
this.secondaryIpv4Prefix = secondaryIpv4Prefix;
return this;
}
@CustomType.Setter
public Builder secondaryIpv6Prefix(@Nullable String secondaryIpv6Prefix) {
this.secondaryIpv6Prefix = secondaryIpv6Prefix;
return this;
}
@CustomType.Setter
public Builder vlanId(Integer vlanId) {
if (vlanId == null) {
throw new MissingRequiredPropertyException("ExternalNetworkPropertiesResponseOptionAProperties", "vlanId");
}
this.vlanId = vlanId;
return this;
}
public ExternalNetworkPropertiesResponseOptionAProperties build() {
final var _resultValue = new ExternalNetworkPropertiesResponseOptionAProperties();
_resultValue.bfdConfiguration = bfdConfiguration;
_resultValue.fabricASN = fabricASN;
_resultValue.mtu = mtu;
_resultValue.peerASN = peerASN;
_resultValue.primaryIpv4Prefix = primaryIpv4Prefix;
_resultValue.primaryIpv6Prefix = primaryIpv6Prefix;
_resultValue.secondaryIpv4Prefix = secondaryIpv4Prefix;
_resultValue.secondaryIpv6Prefix = secondaryIpv6Prefix;
_resultValue.vlanId = vlanId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy