
com.pulumi.azurenative.migrate.outputs.NicIpConfigurationResourceSettingsResponse 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.LoadBalancerBackendAddressPoolReferenceResponse;
import com.pulumi.azurenative.migrate.outputs.LoadBalancerNatRuleReferenceResponse;
import com.pulumi.azurenative.migrate.outputs.PublicIpReferenceResponse;
import com.pulumi.azurenative.migrate.outputs.SubnetReferenceResponse;
import com.pulumi.core.annotations.CustomType;
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 NicIpConfigurationResourceSettingsResponse {
/**
* @return Gets or sets the references of the load balancer backend address pools.
*
*/
private @Nullable List loadBalancerBackendAddressPools;
/**
* @return Gets or sets the references of the load balancer NAT rules.
*
*/
private @Nullable List loadBalancerNatRules;
/**
* @return Gets or sets the IP configuration name.
*
*/
private @Nullable String name;
/**
* @return Gets or sets a value indicating whether this IP configuration is the primary.
*
*/
private @Nullable Boolean primary;
/**
* @return Gets or sets the private IP address of the network interface IP Configuration.
*
*/
private @Nullable String privateIpAddress;
/**
* @return Gets or sets the private IP address allocation method.
*
*/
private @Nullable String privateIpAllocationMethod;
/**
* @return Defines reference to a public IP.
*
*/
private @Nullable PublicIpReferenceResponse publicIp;
/**
* @return Defines reference to subnet.
*
*/
private @Nullable SubnetReferenceResponse subnet;
private NicIpConfigurationResourceSettingsResponse() {}
/**
* @return Gets or sets the references of the load balancer backend address pools.
*
*/
public List loadBalancerBackendAddressPools() {
return this.loadBalancerBackendAddressPools == null ? List.of() : this.loadBalancerBackendAddressPools;
}
/**
* @return Gets or sets the references of the load balancer NAT rules.
*
*/
public List loadBalancerNatRules() {
return this.loadBalancerNatRules == null ? List.of() : this.loadBalancerNatRules;
}
/**
* @return Gets or sets the IP configuration name.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Gets or sets a value indicating whether this IP configuration is the primary.
*
*/
public Optional primary() {
return Optional.ofNullable(this.primary);
}
/**
* @return Gets or sets the private IP address of the network interface IP Configuration.
*
*/
public Optional privateIpAddress() {
return Optional.ofNullable(this.privateIpAddress);
}
/**
* @return Gets or sets the private IP address allocation method.
*
*/
public Optional privateIpAllocationMethod() {
return Optional.ofNullable(this.privateIpAllocationMethod);
}
/**
* @return Defines reference to a public IP.
*
*/
public Optional publicIp() {
return Optional.ofNullable(this.publicIp);
}
/**
* @return Defines reference to subnet.
*
*/
public Optional subnet() {
return Optional.ofNullable(this.subnet);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NicIpConfigurationResourceSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List loadBalancerBackendAddressPools;
private @Nullable List loadBalancerNatRules;
private @Nullable String name;
private @Nullable Boolean primary;
private @Nullable String privateIpAddress;
private @Nullable String privateIpAllocationMethod;
private @Nullable PublicIpReferenceResponse publicIp;
private @Nullable SubnetReferenceResponse subnet;
public Builder() {}
public Builder(NicIpConfigurationResourceSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.loadBalancerBackendAddressPools = defaults.loadBalancerBackendAddressPools;
this.loadBalancerNatRules = defaults.loadBalancerNatRules;
this.name = defaults.name;
this.primary = defaults.primary;
this.privateIpAddress = defaults.privateIpAddress;
this.privateIpAllocationMethod = defaults.privateIpAllocationMethod;
this.publicIp = defaults.publicIp;
this.subnet = defaults.subnet;
}
@CustomType.Setter
public Builder loadBalancerBackendAddressPools(@Nullable List loadBalancerBackendAddressPools) {
this.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
return this;
}
public Builder loadBalancerBackendAddressPools(LoadBalancerBackendAddressPoolReferenceResponse... loadBalancerBackendAddressPools) {
return loadBalancerBackendAddressPools(List.of(loadBalancerBackendAddressPools));
}
@CustomType.Setter
public Builder loadBalancerNatRules(@Nullable List loadBalancerNatRules) {
this.loadBalancerNatRules = loadBalancerNatRules;
return this;
}
public Builder loadBalancerNatRules(LoadBalancerNatRuleReferenceResponse... loadBalancerNatRules) {
return loadBalancerNatRules(List.of(loadBalancerNatRules));
}
@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 privateIpAllocationMethod(@Nullable String privateIpAllocationMethod) {
this.privateIpAllocationMethod = privateIpAllocationMethod;
return this;
}
@CustomType.Setter
public Builder publicIp(@Nullable PublicIpReferenceResponse publicIp) {
this.publicIp = publicIp;
return this;
}
@CustomType.Setter
public Builder subnet(@Nullable SubnetReferenceResponse subnet) {
this.subnet = subnet;
return this;
}
public NicIpConfigurationResourceSettingsResponse build() {
final var _resultValue = new NicIpConfigurationResourceSettingsResponse();
_resultValue.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
_resultValue.loadBalancerNatRules = loadBalancerNatRules;
_resultValue.name = name;
_resultValue.primary = primary;
_resultValue.privateIpAddress = privateIpAddress;
_resultValue.privateIpAllocationMethod = privateIpAllocationMethod;
_resultValue.publicIp = publicIp;
_resultValue.subnet = subnet;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy