
com.pulumi.azurenative.web.outputs.GetWebAppVnetConnectionResult 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.web.outputs;
import com.pulumi.azurenative.web.outputs.VnetRouteResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetWebAppVnetConnectionResult {
/**
* @return A certificate file (.cer) blob containing the public key of the private key used to authenticate a
* Point-To-Site VPN connection.
*
*/
private @Nullable String certBlob;
/**
* @return The client certificate thumbprint.
*
*/
private String certThumbprint;
/**
* @return DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
*
*/
private @Nullable String dnsServers;
/**
* @return Resource Id.
*
*/
private String id;
/**
* @return Flag that is used to denote if this is VNET injection
*
*/
private @Nullable Boolean isSwift;
/**
* @return Kind of resource.
*
*/
private @Nullable String kind;
/**
* @return Resource Name.
*
*/
private String name;
/**
* @return <code>true</code> if a resync is required; otherwise, <code>false</code>.
*
*/
private Boolean resyncRequired;
/**
* @return The routes that this Virtual Network connection uses.
*
*/
private List routes;
/**
* @return Resource type.
*
*/
private String type;
/**
* @return The Virtual Network's resource ID.
*
*/
private @Nullable String vnetResourceId;
private GetWebAppVnetConnectionResult() {}
/**
* @return A certificate file (.cer) blob containing the public key of the private key used to authenticate a
* Point-To-Site VPN connection.
*
*/
public Optional certBlob() {
return Optional.ofNullable(this.certBlob);
}
/**
* @return The client certificate thumbprint.
*
*/
public String certThumbprint() {
return this.certThumbprint;
}
/**
* @return DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
*
*/
public Optional dnsServers() {
return Optional.ofNullable(this.dnsServers);
}
/**
* @return Resource Id.
*
*/
public String id() {
return this.id;
}
/**
* @return Flag that is used to denote if this is VNET injection
*
*/
public Optional isSwift() {
return Optional.ofNullable(this.isSwift);
}
/**
* @return Kind of resource.
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
/**
* @return Resource Name.
*
*/
public String name() {
return this.name;
}
/**
* @return <code>true</code> if a resync is required; otherwise, <code>false</code>.
*
*/
public Boolean resyncRequired() {
return this.resyncRequired;
}
/**
* @return The routes that this Virtual Network connection uses.
*
*/
public List routes() {
return this.routes;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
/**
* @return The Virtual Network's resource ID.
*
*/
public Optional vnetResourceId() {
return Optional.ofNullable(this.vnetResourceId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWebAppVnetConnectionResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String certBlob;
private String certThumbprint;
private @Nullable String dnsServers;
private String id;
private @Nullable Boolean isSwift;
private @Nullable String kind;
private String name;
private Boolean resyncRequired;
private List routes;
private String type;
private @Nullable String vnetResourceId;
public Builder() {}
public Builder(GetWebAppVnetConnectionResult defaults) {
Objects.requireNonNull(defaults);
this.certBlob = defaults.certBlob;
this.certThumbprint = defaults.certThumbprint;
this.dnsServers = defaults.dnsServers;
this.id = defaults.id;
this.isSwift = defaults.isSwift;
this.kind = defaults.kind;
this.name = defaults.name;
this.resyncRequired = defaults.resyncRequired;
this.routes = defaults.routes;
this.type = defaults.type;
this.vnetResourceId = defaults.vnetResourceId;
}
@CustomType.Setter
public Builder certBlob(@Nullable String certBlob) {
this.certBlob = certBlob;
return this;
}
@CustomType.Setter
public Builder certThumbprint(String certThumbprint) {
if (certThumbprint == null) {
throw new MissingRequiredPropertyException("GetWebAppVnetConnectionResult", "certThumbprint");
}
this.certThumbprint = certThumbprint;
return this;
}
@CustomType.Setter
public Builder dnsServers(@Nullable String dnsServers) {
this.dnsServers = dnsServers;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWebAppVnetConnectionResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder isSwift(@Nullable Boolean isSwift) {
this.isSwift = isSwift;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWebAppVnetConnectionResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder resyncRequired(Boolean resyncRequired) {
if (resyncRequired == null) {
throw new MissingRequiredPropertyException("GetWebAppVnetConnectionResult", "resyncRequired");
}
this.resyncRequired = resyncRequired;
return this;
}
@CustomType.Setter
public Builder routes(List routes) {
if (routes == null) {
throw new MissingRequiredPropertyException("GetWebAppVnetConnectionResult", "routes");
}
this.routes = routes;
return this;
}
public Builder routes(VnetRouteResponse... routes) {
return routes(List.of(routes));
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWebAppVnetConnectionResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder vnetResourceId(@Nullable String vnetResourceId) {
this.vnetResourceId = vnetResourceId;
return this;
}
public GetWebAppVnetConnectionResult build() {
final var _resultValue = new GetWebAppVnetConnectionResult();
_resultValue.certBlob = certBlob;
_resultValue.certThumbprint = certThumbprint;
_resultValue.dnsServers = dnsServers;
_resultValue.id = id;
_resultValue.isSwift = isSwift;
_resultValue.kind = kind;
_resultValue.name = name;
_resultValue.resyncRequired = resyncRequired;
_resultValue.routes = routes;
_resultValue.type = type;
_resultValue.vnetResourceId = vnetResourceId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy