
com.pulumi.azurenative.network.outputs.NetworkInterfaceIPConfigurationResponse 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.network.outputs;
import com.pulumi.azurenative.network.outputs.ApplicationGatewayBackendAddressPoolResponse;
import com.pulumi.azurenative.network.outputs.ApplicationSecurityGroupResponse;
import com.pulumi.azurenative.network.outputs.BackendAddressPoolResponse;
import com.pulumi.azurenative.network.outputs.InboundNatRuleResponse;
import com.pulumi.azurenative.network.outputs.NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse;
import com.pulumi.azurenative.network.outputs.PublicIPAddressResponse;
import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.azurenative.network.outputs.SubnetResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkTapResponse;
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 NetworkInterfaceIPConfigurationResponse {
/**
* @return The reference to ApplicationGatewayBackendAddressPool resource.
*
*/
private @Nullable List applicationGatewayBackendAddressPools;
/**
* @return Application security groups in which the IP configuration is included.
*
*/
private @Nullable List applicationSecurityGroups;
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
private String etag;
/**
* @return The reference to gateway load balancer frontend IP.
*
*/
private @Nullable SubResourceResponse gatewayLoadBalancer;
/**
* @return Resource ID.
*
*/
private @Nullable String id;
/**
* @return The reference to LoadBalancerBackendAddressPool resource.
*
*/
private @Nullable List loadBalancerBackendAddressPools;
/**
* @return A list of references of LoadBalancerInboundNatRules.
*
*/
private @Nullable List loadBalancerInboundNatRules;
/**
* @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 Whether this is a primary customer address on the network interface.
*
*/
private @Nullable Boolean primary;
/**
* @return Private IP address of the IP configuration.
*
*/
private @Nullable String privateIPAddress;
/**
* @return Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
*
*/
private @Nullable String privateIPAddressVersion;
/**
* @return The private IP address allocation method.
*
*/
private @Nullable String privateIPAllocationMethod;
/**
* @return PrivateLinkConnection properties for the network interface.
*
*/
private NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse privateLinkConnectionProperties;
/**
* @return The provisioning state of the network interface IP configuration.
*
*/
private String provisioningState;
/**
* @return Public IP address bound to the IP configuration.
*
*/
private @Nullable PublicIPAddressResponse publicIPAddress;
/**
* @return Subnet bound to the IP configuration.
*
*/
private @Nullable SubnetResponse subnet;
/**
* @return Resource type.
*
*/
private @Nullable String type;
/**
* @return The reference to Virtual Network Taps.
*
*/
private @Nullable List virtualNetworkTaps;
private NetworkInterfaceIPConfigurationResponse() {}
/**
* @return The reference to ApplicationGatewayBackendAddressPool resource.
*
*/
public List applicationGatewayBackendAddressPools() {
return this.applicationGatewayBackendAddressPools == null ? List.of() : this.applicationGatewayBackendAddressPools;
}
/**
* @return Application security groups in which the IP configuration is included.
*
*/
public List applicationSecurityGroups() {
return this.applicationSecurityGroups == null ? List.of() : this.applicationSecurityGroups;
}
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
public String etag() {
return this.etag;
}
/**
* @return The reference to gateway load balancer frontend IP.
*
*/
public Optional gatewayLoadBalancer() {
return Optional.ofNullable(this.gatewayLoadBalancer);
}
/**
* @return Resource ID.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The reference to LoadBalancerBackendAddressPool resource.
*
*/
public List loadBalancerBackendAddressPools() {
return this.loadBalancerBackendAddressPools == null ? List.of() : this.loadBalancerBackendAddressPools;
}
/**
* @return A list of references of LoadBalancerInboundNatRules.
*
*/
public List loadBalancerInboundNatRules() {
return this.loadBalancerInboundNatRules == null ? List.of() : this.loadBalancerInboundNatRules;
}
/**
* @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 Whether this is a primary customer address on the network interface.
*
*/
public Optional primary() {
return Optional.ofNullable(this.primary);
}
/**
* @return Private IP address of the IP configuration.
*
*/
public Optional privateIPAddress() {
return Optional.ofNullable(this.privateIPAddress);
}
/**
* @return Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
*
*/
public Optional privateIPAddressVersion() {
return Optional.ofNullable(this.privateIPAddressVersion);
}
/**
* @return The private IP address allocation method.
*
*/
public Optional privateIPAllocationMethod() {
return Optional.ofNullable(this.privateIPAllocationMethod);
}
/**
* @return PrivateLinkConnection properties for the network interface.
*
*/
public NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse privateLinkConnectionProperties() {
return this.privateLinkConnectionProperties;
}
/**
* @return The provisioning state of the network interface IP configuration.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Public IP address bound to the IP configuration.
*
*/
public Optional publicIPAddress() {
return Optional.ofNullable(this.publicIPAddress);
}
/**
* @return Subnet bound to the IP configuration.
*
*/
public Optional subnet() {
return Optional.ofNullable(this.subnet);
}
/**
* @return Resource type.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* @return The reference to Virtual Network Taps.
*
*/
public List virtualNetworkTaps() {
return this.virtualNetworkTaps == null ? List.of() : this.virtualNetworkTaps;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworkInterfaceIPConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List applicationGatewayBackendAddressPools;
private @Nullable List applicationSecurityGroups;
private String etag;
private @Nullable SubResourceResponse gatewayLoadBalancer;
private @Nullable String id;
private @Nullable List loadBalancerBackendAddressPools;
private @Nullable List loadBalancerInboundNatRules;
private @Nullable String name;
private @Nullable Boolean primary;
private @Nullable String privateIPAddress;
private @Nullable String privateIPAddressVersion;
private @Nullable String privateIPAllocationMethod;
private NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse privateLinkConnectionProperties;
private String provisioningState;
private @Nullable PublicIPAddressResponse publicIPAddress;
private @Nullable SubnetResponse subnet;
private @Nullable String type;
private @Nullable List virtualNetworkTaps;
public Builder() {}
public Builder(NetworkInterfaceIPConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.applicationGatewayBackendAddressPools = defaults.applicationGatewayBackendAddressPools;
this.applicationSecurityGroups = defaults.applicationSecurityGroups;
this.etag = defaults.etag;
this.gatewayLoadBalancer = defaults.gatewayLoadBalancer;
this.id = defaults.id;
this.loadBalancerBackendAddressPools = defaults.loadBalancerBackendAddressPools;
this.loadBalancerInboundNatRules = defaults.loadBalancerInboundNatRules;
this.name = defaults.name;
this.primary = defaults.primary;
this.privateIPAddress = defaults.privateIPAddress;
this.privateIPAddressVersion = defaults.privateIPAddressVersion;
this.privateIPAllocationMethod = defaults.privateIPAllocationMethod;
this.privateLinkConnectionProperties = defaults.privateLinkConnectionProperties;
this.provisioningState = defaults.provisioningState;
this.publicIPAddress = defaults.publicIPAddress;
this.subnet = defaults.subnet;
this.type = defaults.type;
this.virtualNetworkTaps = defaults.virtualNetworkTaps;
}
@CustomType.Setter
public Builder applicationGatewayBackendAddressPools(@Nullable List applicationGatewayBackendAddressPools) {
this.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools;
return this;
}
public Builder applicationGatewayBackendAddressPools(ApplicationGatewayBackendAddressPoolResponse... applicationGatewayBackendAddressPools) {
return applicationGatewayBackendAddressPools(List.of(applicationGatewayBackendAddressPools));
}
@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 etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("NetworkInterfaceIPConfigurationResponse", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder gatewayLoadBalancer(@Nullable SubResourceResponse gatewayLoadBalancer) {
this.gatewayLoadBalancer = gatewayLoadBalancer;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder loadBalancerBackendAddressPools(@Nullable List loadBalancerBackendAddressPools) {
this.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
return this;
}
public Builder loadBalancerBackendAddressPools(BackendAddressPoolResponse... loadBalancerBackendAddressPools) {
return loadBalancerBackendAddressPools(List.of(loadBalancerBackendAddressPools));
}
@CustomType.Setter
public Builder loadBalancerInboundNatRules(@Nullable List loadBalancerInboundNatRules) {
this.loadBalancerInboundNatRules = loadBalancerInboundNatRules;
return this;
}
public Builder loadBalancerInboundNatRules(InboundNatRuleResponse... loadBalancerInboundNatRules) {
return loadBalancerInboundNatRules(List.of(loadBalancerInboundNatRules));
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder primary(@Nullable Boolean primary) {
this.primary = primary;
return this;
}
@CustomType.Setter
public Builder privateIPAddress(@Nullable String privateIPAddress) {
this.privateIPAddress = privateIPAddress;
return this;
}
@CustomType.Setter
public Builder privateIPAddressVersion(@Nullable String privateIPAddressVersion) {
this.privateIPAddressVersion = privateIPAddressVersion;
return this;
}
@CustomType.Setter
public Builder privateIPAllocationMethod(@Nullable String privateIPAllocationMethod) {
this.privateIPAllocationMethod = privateIPAllocationMethod;
return this;
}
@CustomType.Setter
public Builder privateLinkConnectionProperties(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse privateLinkConnectionProperties) {
if (privateLinkConnectionProperties == null) {
throw new MissingRequiredPropertyException("NetworkInterfaceIPConfigurationResponse", "privateLinkConnectionProperties");
}
this.privateLinkConnectionProperties = privateLinkConnectionProperties;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("NetworkInterfaceIPConfigurationResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicIPAddress(@Nullable PublicIPAddressResponse publicIPAddress) {
this.publicIPAddress = publicIPAddress;
return this;
}
@CustomType.Setter
public Builder subnet(@Nullable SubnetResponse subnet) {
this.subnet = subnet;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
@CustomType.Setter
public Builder virtualNetworkTaps(@Nullable List virtualNetworkTaps) {
this.virtualNetworkTaps = virtualNetworkTaps;
return this;
}
public Builder virtualNetworkTaps(VirtualNetworkTapResponse... virtualNetworkTaps) {
return virtualNetworkTaps(List.of(virtualNetworkTaps));
}
public NetworkInterfaceIPConfigurationResponse build() {
final var _resultValue = new NetworkInterfaceIPConfigurationResponse();
_resultValue.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools;
_resultValue.applicationSecurityGroups = applicationSecurityGroups;
_resultValue.etag = etag;
_resultValue.gatewayLoadBalancer = gatewayLoadBalancer;
_resultValue.id = id;
_resultValue.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
_resultValue.loadBalancerInboundNatRules = loadBalancerInboundNatRules;
_resultValue.name = name;
_resultValue.primary = primary;
_resultValue.privateIPAddress = privateIPAddress;
_resultValue.privateIPAddressVersion = privateIPAddressVersion;
_resultValue.privateIPAllocationMethod = privateIPAllocationMethod;
_resultValue.privateLinkConnectionProperties = privateLinkConnectionProperties;
_resultValue.provisioningState = provisioningState;
_resultValue.publicIPAddress = publicIPAddress;
_resultValue.subnet = subnet;
_resultValue.type = type;
_resultValue.virtualNetworkTaps = virtualNetworkTaps;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy