com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs 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 NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs extends com.pulumi.resources.ResourceArgs {
public static final NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs Empty = new NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs();
@Import(name="port", required=true)
private Output port;
public Output port() {
return this.port;
}
@Import(name="publicIpAddressId", required=true)
private Output publicIpAddressId;
public Output publicIpAddressId() {
return this.publicIpAddressId;
}
private NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs() {}
private NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs(NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs $) {
this.port = $.port;
this.publicIpAddressId = $.publicIpAddressId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs $;
public Builder() {
$ = new NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs();
}
public Builder(NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs defaults) {
$ = new NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs(Objects.requireNonNull(defaults));
}
public Builder port(Output port) {
$.port = port;
return this;
}
public Builder port(Integer port) {
return port(Output.of(port));
}
public Builder publicIpAddressId(Output publicIpAddressId) {
$.publicIpAddressId = publicIpAddressId;
return this;
}
public Builder publicIpAddressId(String publicIpAddressId) {
return publicIpAddressId(Output.of(publicIpAddressId));
}
public NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs build() {
if ($.port == null) {
throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs", "port");
}
if ($.publicIpAddressId == null) {
throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs", "publicIpAddressId");
}
return $;
}
}
}