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

com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.azure.paloalto.inputs.NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs;
import com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualHubPanoramaDestinationNatFrontendConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs extends com.pulumi.resources.ResourceArgs {

    public static final NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs Empty = new NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs();

    @Import(name="backendConfig")
    private @Nullable Output backendConfig;

    public Optional> backendConfig() {
        return Optional.ofNullable(this.backendConfig);
    }

    @Import(name="frontendConfig")
    private @Nullable Output frontendConfig;

    public Optional> frontendConfig() {
        return Optional.ofNullable(this.frontendConfig);
    }

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

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

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

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

    private NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs() {}

    private NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs(NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs $) {
        this.backendConfig = $.backendConfig;
        this.frontendConfig = $.frontendConfig;
        this.name = $.name;
        this.protocol = $.protocol;
    }

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

    public static final class Builder {
        private NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs $;

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

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

        public Builder backendConfig(@Nullable Output backendConfig) {
            $.backendConfig = backendConfig;
            return this;
        }

        public Builder backendConfig(NextGenerationFirewallVirtualHubPanoramaDestinationNatBackendConfigArgs backendConfig) {
            return backendConfig(Output.of(backendConfig));
        }

        public Builder frontendConfig(@Nullable Output frontendConfig) {
            $.frontendConfig = frontendConfig;
            return this;
        }

        public Builder frontendConfig(NextGenerationFirewallVirtualHubPanoramaDestinationNatFrontendConfigArgs frontendConfig) {
            return frontendConfig(Output.of(frontendConfig));
        }

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

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

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

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

        public NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs", "name");
            }
            if ($.protocol == null) {
                throw new MissingRequiredPropertyException("NextGenerationFirewallVirtualHubPanoramaDestinationNatArgs", "protocol");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy