com.pulumi.azurenative.network.outputs.PrivateEndpointResponse 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.ApplicationSecurityGroupResponse;
import com.pulumi.azurenative.network.outputs.CustomDnsConfigPropertiesFormatResponse;
import com.pulumi.azurenative.network.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.network.outputs.NetworkInterfaceResponse;
import com.pulumi.azurenative.network.outputs.PrivateEndpointIPConfigurationResponse;
import com.pulumi.azurenative.network.outputs.PrivateLinkServiceConnectionResponse;
import com.pulumi.azurenative.network.outputs.SubnetResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PrivateEndpointResponse {
/**
* @return Application security groups in which the private endpoint IP configuration is included.
*
*/
private @Nullable List applicationSecurityGroups;
/**
* @return An array of custom dns configurations.
*
*/
private @Nullable List customDnsConfigs;
/**
* @return The custom name of the network interface attached to the private endpoint.
*
*/
private @Nullable String customNetworkInterfaceName;
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
private String etag;
/**
* @return The extended location of the load balancer.
*
*/
private @Nullable ExtendedLocationResponse extendedLocation;
/**
* @return Resource ID.
*
*/
private @Nullable String id;
/**
* @return A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*
*/
private @Nullable List ipConfigurations;
/**
* @return Resource location.
*
*/
private @Nullable String location;
/**
* @return A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*
*/
private @Nullable List manualPrivateLinkServiceConnections;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return An array of references to the network interfaces created for this private endpoint.
*
*/
private List networkInterfaces;
/**
* @return A grouping of information about the connection to the remote resource.
*
*/
private @Nullable List privateLinkServiceConnections;
/**
* @return The provisioning state of the private endpoint resource.
*
*/
private String provisioningState;
/**
* @return The ID of the subnet from which the private IP will be allocated.
*
*/
private @Nullable SubnetResponse subnet;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Resource type.
*
*/
private String type;
private PrivateEndpointResponse() {}
/**
* @return Application security groups in which the private endpoint IP configuration is included.
*
*/
public List applicationSecurityGroups() {
return this.applicationSecurityGroups == null ? List.of() : this.applicationSecurityGroups;
}
/**
* @return An array of custom dns configurations.
*
*/
public List customDnsConfigs() {
return this.customDnsConfigs == null ? List.of() : this.customDnsConfigs;
}
/**
* @return The custom name of the network interface attached to the private endpoint.
*
*/
public Optional customNetworkInterfaceName() {
return Optional.ofNullable(this.customNetworkInterfaceName);
}
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
public String etag() {
return this.etag;
}
/**
* @return The extended location of the load balancer.
*
*/
public Optional extendedLocation() {
return Optional.ofNullable(this.extendedLocation);
}
/**
* @return Resource ID.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
*
*/
public List ipConfigurations() {
return this.ipConfigurations == null ? List.of() : this.ipConfigurations;
}
/**
* @return Resource location.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
*
*/
public List manualPrivateLinkServiceConnections() {
return this.manualPrivateLinkServiceConnections == null ? List.of() : this.manualPrivateLinkServiceConnections;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return An array of references to the network interfaces created for this private endpoint.
*
*/
public List networkInterfaces() {
return this.networkInterfaces;
}
/**
* @return A grouping of information about the connection to the remote resource.
*
*/
public List privateLinkServiceConnections() {
return this.privateLinkServiceConnections == null ? List.of() : this.privateLinkServiceConnections;
}
/**
* @return The provisioning state of the private endpoint resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The ID of the subnet from which the private IP will be allocated.
*
*/
public Optional subnet() {
return Optional.ofNullable(this.subnet);
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrivateEndpointResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List applicationSecurityGroups;
private @Nullable List customDnsConfigs;
private @Nullable String customNetworkInterfaceName;
private String etag;
private @Nullable ExtendedLocationResponse extendedLocation;
private @Nullable String id;
private @Nullable List ipConfigurations;
private @Nullable String location;
private @Nullable List manualPrivateLinkServiceConnections;
private String name;
private List networkInterfaces;
private @Nullable List privateLinkServiceConnections;
private String provisioningState;
private @Nullable SubnetResponse subnet;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(PrivateEndpointResponse defaults) {
Objects.requireNonNull(defaults);
this.applicationSecurityGroups = defaults.applicationSecurityGroups;
this.customDnsConfigs = defaults.customDnsConfigs;
this.customNetworkInterfaceName = defaults.customNetworkInterfaceName;
this.etag = defaults.etag;
this.extendedLocation = defaults.extendedLocation;
this.id = defaults.id;
this.ipConfigurations = defaults.ipConfigurations;
this.location = defaults.location;
this.manualPrivateLinkServiceConnections = defaults.manualPrivateLinkServiceConnections;
this.name = defaults.name;
this.networkInterfaces = defaults.networkInterfaces;
this.privateLinkServiceConnections = defaults.privateLinkServiceConnections;
this.provisioningState = defaults.provisioningState;
this.subnet = defaults.subnet;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder applicationSecurityGroups(@Nullable List applicationSecurityGroups) {
this.applicationSecurityGroups = applicationSecurityGroups;
return this;
}
public Builder applicationSecurityGroups(ApplicationSecurityGroupResponse... applicationSecurityGroups) {
return applicationSecurityGroups(List.of(applicationSecurityGroups));
}
@CustomType.Setter
public Builder customDnsConfigs(@Nullable List customDnsConfigs) {
this.customDnsConfigs = customDnsConfigs;
return this;
}
public Builder customDnsConfigs(CustomDnsConfigPropertiesFormatResponse... customDnsConfigs) {
return customDnsConfigs(List.of(customDnsConfigs));
}
@CustomType.Setter
public Builder customNetworkInterfaceName(@Nullable String customNetworkInterfaceName) {
this.customNetworkInterfaceName = customNetworkInterfaceName;
return this;
}
@CustomType.Setter
public Builder etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("PrivateEndpointResponse", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder extendedLocation(@Nullable ExtendedLocationResponse extendedLocation) {
this.extendedLocation = extendedLocation;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder ipConfigurations(@Nullable List ipConfigurations) {
this.ipConfigurations = ipConfigurations;
return this;
}
public Builder ipConfigurations(PrivateEndpointIPConfigurationResponse... ipConfigurations) {
return ipConfigurations(List.of(ipConfigurations));
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder manualPrivateLinkServiceConnections(@Nullable List manualPrivateLinkServiceConnections) {
this.manualPrivateLinkServiceConnections = manualPrivateLinkServiceConnections;
return this;
}
public Builder manualPrivateLinkServiceConnections(PrivateLinkServiceConnectionResponse... manualPrivateLinkServiceConnections) {
return manualPrivateLinkServiceConnections(List.of(manualPrivateLinkServiceConnections));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("PrivateEndpointResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkInterfaces(List networkInterfaces) {
if (networkInterfaces == null) {
throw new MissingRequiredPropertyException("PrivateEndpointResponse", "networkInterfaces");
}
this.networkInterfaces = networkInterfaces;
return this;
}
public Builder networkInterfaces(NetworkInterfaceResponse... networkInterfaces) {
return networkInterfaces(List.of(networkInterfaces));
}
@CustomType.Setter
public Builder privateLinkServiceConnections(@Nullable List privateLinkServiceConnections) {
this.privateLinkServiceConnections = privateLinkServiceConnections;
return this;
}
public Builder privateLinkServiceConnections(PrivateLinkServiceConnectionResponse... privateLinkServiceConnections) {
return privateLinkServiceConnections(List.of(privateLinkServiceConnections));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("PrivateEndpointResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder subnet(@Nullable SubnetResponse subnet) {
this.subnet = subnet;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("PrivateEndpointResponse", "type");
}
this.type = type;
return this;
}
public PrivateEndpointResponse build() {
final var _resultValue = new PrivateEndpointResponse();
_resultValue.applicationSecurityGroups = applicationSecurityGroups;
_resultValue.customDnsConfigs = customDnsConfigs;
_resultValue.customNetworkInterfaceName = customNetworkInterfaceName;
_resultValue.etag = etag;
_resultValue.extendedLocation = extendedLocation;
_resultValue.id = id;
_resultValue.ipConfigurations = ipConfigurations;
_resultValue.location = location;
_resultValue.manualPrivateLinkServiceConnections = manualPrivateLinkServiceConnections;
_resultValue.name = name;
_resultValue.networkInterfaces = networkInterfaces;
_resultValue.privateLinkServiceConnections = privateLinkServiceConnections;
_resultValue.provisioningState = provisioningState;
_resultValue.subnet = subnet;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy