// *** 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 NatGatewayPublicIpPrefixAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final NatGatewayPublicIpPrefixAssociationState Empty = new NatGatewayPublicIpPrefixAssociationState();

    /**
     * The ID of the NAT Gateway. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="natGatewayId")
    private @Nullable Output<String> natGatewayId;

    /**
     * @return The ID of the NAT Gateway. Changing this forces a new resource to be created.
     * 
     */
    public Optional<Output<String>> natGatewayId() {
        return Optional.ofNullable(this.natGatewayId);
    }

    /**
     * The ID of the Public IP Prefix which this NAT Gateway which should be connected to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="publicIpPrefixId")
    private @Nullable Output<String> publicIpPrefixId;

    /**
     * @return The ID of the Public IP Prefix which this NAT Gateway which should be connected to. Changing this forces a new resource to be created.
     * 
     */
    public Optional<Output<String>> publicIpPrefixId() {
        return Optional.ofNullable(this.publicIpPrefixId);
    }

    private NatGatewayPublicIpPrefixAssociationState() {}

    private NatGatewayPublicIpPrefixAssociationState(NatGatewayPublicIpPrefixAssociationState $) {
        this.natGatewayId = $.natGatewayId;
        this.publicIpPrefixId = $.publicIpPrefixId;
    }

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

    public static final class Builder {
        private NatGatewayPublicIpPrefixAssociationState $;

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

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

        /**
         * @param natGatewayId The ID of the NAT Gateway. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder natGatewayId(@Nullable Output<String> natGatewayId) {
            $.natGatewayId = natGatewayId;
            return this;
        }

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

        /**
         * @param publicIpPrefixId The ID of the Public IP Prefix which this NAT Gateway which should be connected to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder publicIpPrefixId(@Nullable Output<String> publicIpPrefixId) {
            $.publicIpPrefixId = publicIpPrefixId;
            return this;
        }

        /**
         * @param publicIpPrefixId The ID of the Public IP Prefix which this NAT Gateway which should be connected to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder publicIpPrefixId(String publicIpPrefixId) {
            return publicIpPrefixId(Output.of(publicIpPrefixId));
        }

        public NatGatewayPublicIpPrefixAssociationState build() {
            return $;
        }
    }

}
