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

com.pulumi.azurenative.network.inputs.AzureFirewallIPConfigurationArgs 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.azurenative.network.inputs;

import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * IP configuration of an Azure Firewall.
 * 
 */
public final class AzureFirewallIPConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureFirewallIPConfigurationArgs Empty = new AzureFirewallIPConfigurationArgs();

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
     * 
     */
    @Import(name="publicIPAddress")
    private @Nullable Output publicIPAddress;

    /**
     * @return Reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
     * 
     */
    public Optional> publicIPAddress() {
        return Optional.ofNullable(this.publicIPAddress);
    }

    /**
     * Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
     * 
     */
    @Import(name="subnet")
    private @Nullable Output subnet;

    /**
     * @return Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
     * 
     */
    public Optional> subnet() {
        return Optional.ofNullable(this.subnet);
    }

    private AzureFirewallIPConfigurationArgs() {}

    private AzureFirewallIPConfigurationArgs(AzureFirewallIPConfigurationArgs $) {
        this.id = $.id;
        this.name = $.name;
        this.publicIPAddress = $.publicIPAddress;
        this.subnet = $.subnet;
    }

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

    public static final class Builder {
        private AzureFirewallIPConfigurationArgs $;

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

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

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name Name of the resource that is unique within a resource group. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the resource that is unique within a resource group. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param publicIPAddress Reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
         * 
         * @return builder
         * 
         */
        public Builder publicIPAddress(@Nullable Output publicIPAddress) {
            $.publicIPAddress = publicIPAddress;
            return this;
        }

        /**
         * @param publicIPAddress Reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
         * 
         * @return builder
         * 
         */
        public Builder publicIPAddress(SubResourceArgs publicIPAddress) {
            return publicIPAddress(Output.of(publicIPAddress));
        }

        /**
         * @param subnet Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
         * 
         * @return builder
         * 
         */
        public Builder subnet(@Nullable Output subnet) {
            $.subnet = subnet;
            return this;
        }

        /**
         * @param subnet Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
         * 
         * @return builder
         * 
         */
        public Builder subnet(SubResourceArgs subnet) {
            return subnet(Output.of(subnet));
        }

        public AzureFirewallIPConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy