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

com.pulumi.azurenative.network.inputs.FirewallPolicySQLArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.network.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * SQL Settings in Firewall Policy.
 * 
 */
public final class FirewallPolicySQLArgs extends com.pulumi.resources.ResourceArgs {

    public static final FirewallPolicySQLArgs Empty = new FirewallPolicySQLArgs();

    /**
     * A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
     * 
     */
    @Import(name="allowSqlRedirect")
    private @Nullable Output allowSqlRedirect;

    /**
     * @return A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
     * 
     */
    public Optional> allowSqlRedirect() {
        return Optional.ofNullable(this.allowSqlRedirect);
    }

    private FirewallPolicySQLArgs() {}

    private FirewallPolicySQLArgs(FirewallPolicySQLArgs $) {
        this.allowSqlRedirect = $.allowSqlRedirect;
    }

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

    public static final class Builder {
        private FirewallPolicySQLArgs $;

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

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

        /**
         * @param allowSqlRedirect A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
         * 
         * @return builder
         * 
         */
        public Builder allowSqlRedirect(@Nullable Output allowSqlRedirect) {
            $.allowSqlRedirect = allowSqlRedirect;
            return this;
        }

        /**
         * @param allowSqlRedirect A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
         * 
         * @return builder
         * 
         */
        public Builder allowSqlRedirect(Boolean allowSqlRedirect) {
            return allowSqlRedirect(Output.of(allowSqlRedirect));
        }

        public FirewallPolicySQLArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy