com.pulumi.azure.network.outputs.GetFirewallManagementIpConfiguration 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.azure.network.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetFirewallManagementIpConfiguration {
/**
* @return The name of the Azure Firewall.
*
*/
private String name;
/**
* @return The private IP address associated with the Azure Firewall.
*
*/
private String privateIpAddress;
/**
* @return The ID of the Public IP address of the Azure Firewall.
*
*/
private String publicIpAddressId;
/**
* @return The ID of the Subnet where the Azure Firewall is deployed.
*
*/
private String subnetId;
private GetFirewallManagementIpConfiguration() {}
/**
* @return The name of the Azure Firewall.
*
*/
public String name() {
return this.name;
}
/**
* @return The private IP address associated with the Azure Firewall.
*
*/
public String privateIpAddress() {
return this.privateIpAddress;
}
/**
* @return The ID of the Public IP address of the Azure Firewall.
*
*/
public String publicIpAddressId() {
return this.publicIpAddressId;
}
/**
* @return The ID of the Subnet where the Azure Firewall is deployed.
*
*/
public String subnetId() {
return this.subnetId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFirewallManagementIpConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private String privateIpAddress;
private String publicIpAddressId;
private String subnetId;
public Builder() {}
public Builder(GetFirewallManagementIpConfiguration defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.privateIpAddress = defaults.privateIpAddress;
this.publicIpAddressId = defaults.publicIpAddressId;
this.subnetId = defaults.subnetId;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetFirewallManagementIpConfiguration", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateIpAddress(String privateIpAddress) {
if (privateIpAddress == null) {
throw new MissingRequiredPropertyException("GetFirewallManagementIpConfiguration", "privateIpAddress");
}
this.privateIpAddress = privateIpAddress;
return this;
}
@CustomType.Setter
public Builder publicIpAddressId(String publicIpAddressId) {
if (publicIpAddressId == null) {
throw new MissingRequiredPropertyException("GetFirewallManagementIpConfiguration", "publicIpAddressId");
}
this.publicIpAddressId = publicIpAddressId;
return this;
}
@CustomType.Setter
public Builder subnetId(String subnetId) {
if (subnetId == null) {
throw new MissingRequiredPropertyException("GetFirewallManagementIpConfiguration", "subnetId");
}
this.subnetId = subnetId;
return this;
}
public GetFirewallManagementIpConfiguration build() {
final var _resultValue = new GetFirewallManagementIpConfiguration();
_resultValue.name = name;
_resultValue.privateIpAddress = privateIpAddress;
_resultValue.publicIpAddressId = publicIpAddressId;
_resultValue.subnetId = subnetId;
return _resultValue;
}
}
}