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

com.pulumi.azurenative.servicebus.inputs.ActionArgs 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.servicebus.inputs;

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


/**
 * Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
 * 
 */
public final class ActionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ActionArgs Empty = new ActionArgs();

    /**
     * This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
     * 
     */
    @Import(name="compatibilityLevel")
    private @Nullable Output compatibilityLevel;

    /**
     * @return This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
     * 
     */
    public Optional> compatibilityLevel() {
        return Optional.ofNullable(this.compatibilityLevel);
    }

    /**
     * Value that indicates whether the rule action requires preprocessing.
     * 
     */
    @Import(name="requiresPreprocessing")
    private @Nullable Output requiresPreprocessing;

    /**
     * @return Value that indicates whether the rule action requires preprocessing.
     * 
     */
    public Optional> requiresPreprocessing() {
        return Optional.ofNullable(this.requiresPreprocessing);
    }

    /**
     * SQL expression. e.g. MyProperty='ABC'
     * 
     */
    @Import(name="sqlExpression")
    private @Nullable Output sqlExpression;

    /**
     * @return SQL expression. e.g. MyProperty='ABC'
     * 
     */
    public Optional> sqlExpression() {
        return Optional.ofNullable(this.sqlExpression);
    }

    private ActionArgs() {}

    private ActionArgs(ActionArgs $) {
        this.compatibilityLevel = $.compatibilityLevel;
        this.requiresPreprocessing = $.requiresPreprocessing;
        this.sqlExpression = $.sqlExpression;
    }

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

    public static final class Builder {
        private ActionArgs $;

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

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

        /**
         * @param compatibilityLevel This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
         * 
         * @return builder
         * 
         */
        public Builder compatibilityLevel(@Nullable Output compatibilityLevel) {
            $.compatibilityLevel = compatibilityLevel;
            return this;
        }

        /**
         * @param compatibilityLevel This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
         * 
         * @return builder
         * 
         */
        public Builder compatibilityLevel(Integer compatibilityLevel) {
            return compatibilityLevel(Output.of(compatibilityLevel));
        }

        /**
         * @param requiresPreprocessing Value that indicates whether the rule action requires preprocessing.
         * 
         * @return builder
         * 
         */
        public Builder requiresPreprocessing(@Nullable Output requiresPreprocessing) {
            $.requiresPreprocessing = requiresPreprocessing;
            return this;
        }

        /**
         * @param requiresPreprocessing Value that indicates whether the rule action requires preprocessing.
         * 
         * @return builder
         * 
         */
        public Builder requiresPreprocessing(Boolean requiresPreprocessing) {
            return requiresPreprocessing(Output.of(requiresPreprocessing));
        }

        /**
         * @param sqlExpression SQL expression. e.g. MyProperty='ABC'
         * 
         * @return builder
         * 
         */
        public Builder sqlExpression(@Nullable Output sqlExpression) {
            $.sqlExpression = sqlExpression;
            return this;
        }

        /**
         * @param sqlExpression SQL expression. e.g. MyProperty='ABC'
         * 
         * @return builder
         * 
         */
        public Builder sqlExpression(String sqlExpression) {
            return sqlExpression(Output.of(sqlExpression));
        }

        public ActionArgs build() {
            $.requiresPreprocessing = Codegen.booleanProp("requiresPreprocessing").output().arg($.requiresPreprocessing).def(true).getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy