
com.pulumi.azurenative.network.outputs.VpnSiteLinkResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.VpnLinkBgpSettingsResponse;
import com.pulumi.azurenative.network.outputs.VpnLinkProviderPropertiesResponse;
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 VpnSiteLinkResponse {
/**
* @return The set of bgp properties.
*
*/
private @Nullable VpnLinkBgpSettingsResponse bgpProperties;
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
private String etag;
/**
* @return FQDN of vpn-site-link.
*
*/
private @Nullable String fqdn;
/**
* @return Resource ID.
*
*/
private @Nullable String id;
/**
* @return The ip-address for the vpn-site-link.
*
*/
private @Nullable String ipAddress;
/**
* @return The link provider properties.
*
*/
private @Nullable VpnLinkProviderPropertiesResponse linkProperties;
/**
* @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 The provisioning state of the VPN site link resource.
*
*/
private String provisioningState;
/**
* @return Resource type.
*
*/
private String type;
private VpnSiteLinkResponse() {}
/**
* @return The set of bgp properties.
*
*/
public Optional bgpProperties() {
return Optional.ofNullable(this.bgpProperties);
}
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
public String etag() {
return this.etag;
}
/**
* @return FQDN of vpn-site-link.
*
*/
public Optional fqdn() {
return Optional.ofNullable(this.fqdn);
}
/**
* @return Resource ID.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The ip-address for the vpn-site-link.
*
*/
public Optional ipAddress() {
return Optional.ofNullable(this.ipAddress);
}
/**
* @return The link provider properties.
*
*/
public Optional linkProperties() {
return Optional.ofNullable(this.linkProperties);
}
/**
* @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 The provisioning state of the VPN site link resource.
*
*/
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(VpnSiteLinkResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable VpnLinkBgpSettingsResponse bgpProperties;
private String etag;
private @Nullable String fqdn;
private @Nullable String id;
private @Nullable String ipAddress;
private @Nullable VpnLinkProviderPropertiesResponse linkProperties;
private @Nullable String name;
private String provisioningState;
private String type;
public Builder() {}
public Builder(VpnSiteLinkResponse defaults) {
Objects.requireNonNull(defaults);
this.bgpProperties = defaults.bgpProperties;
this.etag = defaults.etag;
this.fqdn = defaults.fqdn;
this.id = defaults.id;
this.ipAddress = defaults.ipAddress;
this.linkProperties = defaults.linkProperties;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.type = defaults.type;
}
@CustomType.Setter
public Builder bgpProperties(@Nullable VpnLinkBgpSettingsResponse bgpProperties) {
this.bgpProperties = bgpProperties;
return this;
}
@CustomType.Setter
public Builder etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("VpnSiteLinkResponse", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder fqdn(@Nullable String fqdn) {
this.fqdn = fqdn;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder ipAddress(@Nullable String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
@CustomType.Setter
public Builder linkProperties(@Nullable VpnLinkProviderPropertiesResponse linkProperties) {
this.linkProperties = linkProperties;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("VpnSiteLinkResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("VpnSiteLinkResponse", "type");
}
this.type = type;
return this;
}
public VpnSiteLinkResponse build() {
final var _resultValue = new VpnSiteLinkResponse();
_resultValue.bgpProperties = bgpProperties;
_resultValue.etag = etag;
_resultValue.fqdn = fqdn;
_resultValue.id = id;
_resultValue.ipAddress = ipAddress;
_resultValue.linkProperties = linkProperties;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy