// *** 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.Boolean;
import java.lang.String;
import java.util.Objects;


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

    public static final VirtualNetworkDdosProtectionPlanArgs Empty = new VirtualNetworkDdosProtectionPlanArgs();

    /**
     * Enable/disable DDoS Protection Plan on Virtual Network.
     * 
     */
    @Import(name="enable", required=true)
    private Output<Boolean> enable;

    /**
     * @return Enable/disable DDoS Protection Plan on Virtual Network.
     * 
     */
    public Output<Boolean> enable() {
        return this.enable;
    }

    /**
     * The ID of DDoS Protection Plan.
     * 
     */
    @Import(name="id", required=true)
    private Output<String> id;

    /**
     * @return The ID of DDoS Protection Plan.
     * 
     */
    public Output<String> id() {
        return this.id;
    }

    private VirtualNetworkDdosProtectionPlanArgs() {}

    private VirtualNetworkDdosProtectionPlanArgs(VirtualNetworkDdosProtectionPlanArgs $) {
        this.enable = $.enable;
        this.id = $.id;
    }

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

    public static final class Builder {
        private VirtualNetworkDdosProtectionPlanArgs $;

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

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

        /**
         * @param enable Enable/disable DDoS Protection Plan on Virtual Network.
         * 
         * @return builder
         * 
         */
        public Builder enable(Output<Boolean> enable) {
            $.enable = enable;
            return this;
        }

        /**
         * @param enable Enable/disable DDoS Protection Plan on Virtual Network.
         * 
         * @return builder
         * 
         */
        public Builder enable(Boolean enable) {
            return enable(Output.of(enable));
        }

        /**
         * @param id The ID of DDoS Protection Plan.
         * 
         * @return builder
         * 
         */
        public Builder id(Output<String> id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The ID of DDoS Protection Plan.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        public VirtualNetworkDdosProtectionPlanArgs build() {
            $.enable = Objects.requireNonNull($.enable, "expected parameter 'enable' to be non-null");
            $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null");
            return $;
        }
    }

}
