All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs 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.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 NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs Empty = new NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs();

    @Import(name="port", required=true)
    private Output port;

    public Output port() {
        return this.port;
    }

    @Import(name="publicIpAddress", required=true)
    private Output publicIpAddress;

    public Output publicIpAddress() {
        return this.publicIpAddress;
    }

    private NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs() {}

    private NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs(NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs $) {
        this.port = $.port;
        this.publicIpAddress = $.publicIpAddress;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs $;

        public Builder() {
            $ = new NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs();
        }

        public Builder(NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs defaults) {
            $ = new NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs(Objects.requireNonNull(defaults));
        }

        public Builder port(Output port) {
            $.port = port;
            return this;
        }

        public Builder port(Integer port) {
            return port(Output.of(port));
        }

        public Builder publicIpAddress(Output publicIpAddress) {
            $.publicIpAddress = publicIpAddress;
            return this;
        }

        public Builder publicIpAddress(String publicIpAddress) {
            return publicIpAddress(Output.of(publicIpAddress));
        }

        public NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs build() {
            if ($.port == null) {
                throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs", "port");
            }
            if ($.publicIpAddress == null) {
                throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs", "publicIpAddress");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy