com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.paloalto.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
public final class NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs extends com.pulumi.resources.ResourceArgs {
public static final NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs Empty = new NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs();
/**
* The port on which to receive traffic.
*
*/
@Import(name="port", required=true)
private Output port;
/**
* @return The port on which to receive traffic.
*
*/
public Output port() {
return this.port;
}
/**
* The ID of the Public IP Address on which to receive traffic.
*
* > **Note:** This must be an Azure Public IP address ID also specified in the `public_ip_address_ids` list.
*
*/
@Import(name="publicIpAddressId", required=true)
private Output publicIpAddressId;
/**
* @return The ID of the Public IP Address on which to receive traffic.
*
* > **Note:** This must be an Azure Public IP address ID also specified in the `public_ip_address_ids` list.
*
*/
public Output publicIpAddressId() {
return this.publicIpAddressId;
}
private NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs() {}
private NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs(NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs $) {
this.port = $.port;
this.publicIpAddressId = $.publicIpAddressId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs $;
public Builder() {
$ = new NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs();
}
public Builder(NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs defaults) {
$ = new NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs(Objects.requireNonNull(defaults));
}
/**
* @param port The port on which to receive traffic.
*
* @return builder
*
*/
public Builder port(Output port) {
$.port = port;
return this;
}
/**
* @param port The port on which to receive traffic.
*
* @return builder
*
*/
public Builder port(Integer port) {
return port(Output.of(port));
}
/**
* @param publicIpAddressId The ID of the Public IP Address on which to receive traffic.
*
* > **Note:** This must be an Azure Public IP address ID also specified in the `public_ip_address_ids` list.
*
* @return builder
*
*/
public Builder publicIpAddressId(Output publicIpAddressId) {
$.publicIpAddressId = publicIpAddressId;
return this;
}
/**
* @param publicIpAddressId The ID of the Public IP Address on which to receive traffic.
*
* > **Note:** This must be an Azure Public IP address ID also specified in the `public_ip_address_ids` list.
*
* @return builder
*
*/
public Builder publicIpAddressId(String publicIpAddressId) {
return publicIpAddressId(Output.of(publicIpAddressId));
}
public NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs build() {
if ($.port == null) {
throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs", "port");
}
if ($.publicIpAddressId == null) {
throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfigArgs", "publicIpAddressId");
}
return $;
}
}
}