// *** 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.gcp.compute.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final RegionSecurityPolicyDdosProtectionConfigArgs Empty = new RegionSecurityPolicyDdosProtectionConfigArgs();

    /**
     * Google Cloud Armor offers the following options to help protect systems against DDoS attacks:
     * - STANDARD: basic always-on protection for network load balancers, protocol forwarding, or VMs with public IP addresses.
     * - ADVANCED: additional protections for Managed Protection Plus subscribers who use network load balancers, protocol forwarding, or VMs with public IP addresses.
     * - ADVANCED_PREVIEW: flag to enable the security policy in preview mode.
     *   Possible values are: `ADVANCED`, `ADVANCED_PREVIEW`, `STANDARD`.
     * 
     */
    @Import(name="ddosProtection", required=true)
    private Output<String> ddosProtection;

    /**
     * @return Google Cloud Armor offers the following options to help protect systems against DDoS attacks:
     * - STANDARD: basic always-on protection for network load balancers, protocol forwarding, or VMs with public IP addresses.
     * - ADVANCED: additional protections for Managed Protection Plus subscribers who use network load balancers, protocol forwarding, or VMs with public IP addresses.
     * - ADVANCED_PREVIEW: flag to enable the security policy in preview mode.
     *   Possible values are: `ADVANCED`, `ADVANCED_PREVIEW`, `STANDARD`.
     * 
     */
    public Output<String> ddosProtection() {
        return this.ddosProtection;
    }

    private RegionSecurityPolicyDdosProtectionConfigArgs() {}

    private RegionSecurityPolicyDdosProtectionConfigArgs(RegionSecurityPolicyDdosProtectionConfigArgs $) {
        this.ddosProtection = $.ddosProtection;
    }

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

    public static final class Builder {
        private RegionSecurityPolicyDdosProtectionConfigArgs $;

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

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

        /**
         * @param ddosProtection Google Cloud Armor offers the following options to help protect systems against DDoS attacks:
         * - STANDARD: basic always-on protection for network load balancers, protocol forwarding, or VMs with public IP addresses.
         * - ADVANCED: additional protections for Managed Protection Plus subscribers who use network load balancers, protocol forwarding, or VMs with public IP addresses.
         * - ADVANCED_PREVIEW: flag to enable the security policy in preview mode.
         *   Possible values are: `ADVANCED`, `ADVANCED_PREVIEW`, `STANDARD`.
         * 
         * @return builder
         * 
         */
        public Builder ddosProtection(Output<String> ddosProtection) {
            $.ddosProtection = ddosProtection;
            return this;
        }

        /**
         * @param ddosProtection Google Cloud Armor offers the following options to help protect systems against DDoS attacks:
         * - STANDARD: basic always-on protection for network load balancers, protocol forwarding, or VMs with public IP addresses.
         * - ADVANCED: additional protections for Managed Protection Plus subscribers who use network load balancers, protocol forwarding, or VMs with public IP addresses.
         * - ADVANCED_PREVIEW: flag to enable the security policy in preview mode.
         *   Possible values are: `ADVANCED`, `ADVANCED_PREVIEW`, `STANDARD`.
         * 
         * @return builder
         * 
         */
        public Builder ddosProtection(String ddosProtection) {
            return ddosProtection(Output.of(ddosProtection));
        }

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

}
