// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.servicebus.models;

import com.azure.core.annotation.Fluent;

/**
 * Represents set of actions written in SQL language-based syntax that is performed against a
 * ServiceBus.Messaging.BrokeredMessage.
 */
@Fluent
public final class SqlRuleAction extends Action {
    /** {@inheritDoc} */
    @Override
    public SqlRuleAction withSqlExpression(String sqlExpression) {
        super.withSqlExpression(sqlExpression);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SqlRuleAction withCompatibilityLevel(Integer compatibilityLevel) {
        super.withCompatibilityLevel(compatibilityLevel);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SqlRuleAction withRequiresPreprocessing(Boolean requiresPreprocessing) {
        super.withRequiresPreprocessing(requiresPreprocessing);
        return this;
    }

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