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

com.pulumi.azurenative.servicebus.outputs.ActionResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ActionResponse {
    /**
     * @return This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
     * 
     */
    private @Nullable Integer compatibilityLevel;
    /**
     * @return Value that indicates whether the rule action requires preprocessing.
     * 
     */
    private @Nullable Boolean requiresPreprocessing;
    /**
     * @return SQL expression. e.g. MyProperty='ABC'
     * 
     */
    private @Nullable String sqlExpression;

    private ActionResponse() {}
    /**
     * @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);
    }
    /**
     * @return Value that indicates whether the rule action requires preprocessing.
     * 
     */
    public Optional requiresPreprocessing() {
        return Optional.ofNullable(this.requiresPreprocessing);
    }
    /**
     * @return SQL expression. e.g. MyProperty='ABC'
     * 
     */
    public Optional sqlExpression() {
        return Optional.ofNullable(this.sqlExpression);
    }

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

    public static Builder builder(ActionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer compatibilityLevel;
        private @Nullable Boolean requiresPreprocessing;
        private @Nullable String sqlExpression;
        public Builder() {}
        public Builder(ActionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.compatibilityLevel = defaults.compatibilityLevel;
    	      this.requiresPreprocessing = defaults.requiresPreprocessing;
    	      this.sqlExpression = defaults.sqlExpression;
        }

        @CustomType.Setter
        public Builder compatibilityLevel(@Nullable Integer compatibilityLevel) {

            this.compatibilityLevel = compatibilityLevel;
            return this;
        }
        @CustomType.Setter
        public Builder requiresPreprocessing(@Nullable Boolean requiresPreprocessing) {

            this.requiresPreprocessing = requiresPreprocessing;
            return this;
        }
        @CustomType.Setter
        public Builder sqlExpression(@Nullable String sqlExpression) {

            this.sqlExpression = sqlExpression;
            return this;
        }
        public ActionResponse build() {
            final var _resultValue = new ActionResponse();
            _resultValue.compatibilityLevel = compatibilityLevel;
            _resultValue.requiresPreprocessing = requiresPreprocessing;
            _resultValue.sqlExpression = sqlExpression;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy