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

com.pulumi.azure.network.inputs.NetworkInterfaceNatRuleAssociationState 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.network.inputs;

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;


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

    public static final NetworkInterfaceNatRuleAssociationState Empty = new NetworkInterfaceNatRuleAssociationState();

    /**
     * The Name of the IP Configuration within the Network Interface which should be connected to the NAT Rule. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="ipConfigurationName")
    private @Nullable Output ipConfigurationName;

    /**
     * @return The Name of the IP Configuration within the Network Interface which should be connected to the NAT Rule. Changing this forces a new resource to be created.
     * 
     */
    public Optional> ipConfigurationName() {
        return Optional.ofNullable(this.ipConfigurationName);
    }

    /**
     * The ID of the Load Balancer NAT Rule which this Network Interface which should be connected to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="natRuleId")
    private @Nullable Output natRuleId;

    /**
     * @return The ID of the Load Balancer NAT Rule which this Network Interface which should be connected to. Changing this forces a new resource to be created.
     * 
     */
    public Optional> natRuleId() {
        return Optional.ofNullable(this.natRuleId);
    }

    /**
     * The ID of the Network Interface. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="networkInterfaceId")
    private @Nullable Output networkInterfaceId;

    /**
     * @return The ID of the Network Interface. Changing this forces a new resource to be created.
     * 
     */
    public Optional> networkInterfaceId() {
        return Optional.ofNullable(this.networkInterfaceId);
    }

    private NetworkInterfaceNatRuleAssociationState() {}

    private NetworkInterfaceNatRuleAssociationState(NetworkInterfaceNatRuleAssociationState $) {
        this.ipConfigurationName = $.ipConfigurationName;
        this.natRuleId = $.natRuleId;
        this.networkInterfaceId = $.networkInterfaceId;
    }

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

    public static final class Builder {
        private NetworkInterfaceNatRuleAssociationState $;

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

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

        /**
         * @param ipConfigurationName The Name of the IP Configuration within the Network Interface which should be connected to the NAT Rule. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ipConfigurationName(@Nullable Output ipConfigurationName) {
            $.ipConfigurationName = ipConfigurationName;
            return this;
        }

        /**
         * @param ipConfigurationName The Name of the IP Configuration within the Network Interface which should be connected to the NAT Rule. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ipConfigurationName(String ipConfigurationName) {
            return ipConfigurationName(Output.of(ipConfigurationName));
        }

        /**
         * @param natRuleId The ID of the Load Balancer NAT Rule which this Network Interface which should be connected to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder natRuleId(@Nullable Output natRuleId) {
            $.natRuleId = natRuleId;
            return this;
        }

        /**
         * @param natRuleId The ID of the Load Balancer NAT Rule which this Network Interface which should be connected to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder natRuleId(String natRuleId) {
            return natRuleId(Output.of(natRuleId));
        }

        /**
         * @param networkInterfaceId The ID of the Network Interface. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfaceId(@Nullable Output networkInterfaceId) {
            $.networkInterfaceId = networkInterfaceId;
            return this;
        }

        /**
         * @param networkInterfaceId The ID of the Network Interface. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfaceId(String networkInterfaceId) {
            return networkInterfaceId(Output.of(networkInterfaceId));
        }

        public NetworkInterfaceNatRuleAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy