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

com.azure.resourcemanager.network.models.FirewallPolicySql Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.network.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * SQL Settings in Firewall Policy.
 */
@Fluent
public final class FirewallPolicySql {
    /*
     * A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
     */
    @JsonProperty(value = "allowSqlRedirect")
    private Boolean allowSqlRedirect;

    /**
     * Creates an instance of FirewallPolicySql class.
     */
    public FirewallPolicySql() {
    }

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

    /**
     * Set the allowSqlRedirect property: A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on
     * the flag requires no rule using port 11000-11999.
     * 
     * @param allowSqlRedirect the allowSqlRedirect value to set.
     * @return the FirewallPolicySql object itself.
     */
    public FirewallPolicySql withAllowSqlRedirect(Boolean allowSqlRedirect) {
        this.allowSqlRedirect = allowSqlRedirect;
        return this;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy