EvaluateDataFlowExpressionRequest.java

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

package com.azure.analytics.synapse.artifacts.models;

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

/** Request body structure for data flow expression preview. */
@Fluent
public final class EvaluateDataFlowExpressionRequest {
    /*
     * The ID of data flow debug session.
     */
    @JsonProperty(value = "sessionId")
    private String sessionId;

    /*
     * The data flow which contains the debug session.
     */
    @JsonProperty(value = "dataFlowName")
    private String dataFlowName;

    /*
     * The output stream name.
     */
    @JsonProperty(value = "streamName")
    private String streamName;

    /*
     * The row limit for preview request.
     */
    @JsonProperty(value = "rowLimits")
    private Integer rowLimits;

    /*
     * The expression for preview.
     */
    @JsonProperty(value = "expression")
    private String expression;

    /**
     * Get the sessionId property: The ID of data flow debug session.
     *
     * @return the sessionId value.
     */
    public String getSessionId() {
        return this.sessionId;
    }

    /**
     * Set the sessionId property: The ID of data flow debug session.
     *
     * @param sessionId the sessionId value to set.
     * @return the EvaluateDataFlowExpressionRequest object itself.
     */
    public EvaluateDataFlowExpressionRequest setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    /**
     * Get the dataFlowName property: The data flow which contains the debug session.
     *
     * @return the dataFlowName value.
     */
    public String getDataFlowName() {
        return this.dataFlowName;
    }

    /**
     * Set the dataFlowName property: The data flow which contains the debug session.
     *
     * @param dataFlowName the dataFlowName value to set.
     * @return the EvaluateDataFlowExpressionRequest object itself.
     */
    public EvaluateDataFlowExpressionRequest setDataFlowName(String dataFlowName) {
        this.dataFlowName = dataFlowName;
        return this;
    }

    /**
     * Get the streamName property: The output stream name.
     *
     * @return the streamName value.
     */
    public String getStreamName() {
        return this.streamName;
    }

    /**
     * Set the streamName property: The output stream name.
     *
     * @param streamName the streamName value to set.
     * @return the EvaluateDataFlowExpressionRequest object itself.
     */
    public EvaluateDataFlowExpressionRequest setStreamName(String streamName) {
        this.streamName = streamName;
        return this;
    }

    /**
     * Get the rowLimits property: The row limit for preview request.
     *
     * @return the rowLimits value.
     */
    public Integer getRowLimits() {
        return this.rowLimits;
    }

    /**
     * Set the rowLimits property: The row limit for preview request.
     *
     * @param rowLimits the rowLimits value to set.
     * @return the EvaluateDataFlowExpressionRequest object itself.
     */
    public EvaluateDataFlowExpressionRequest setRowLimits(Integer rowLimits) {
        this.rowLimits = rowLimits;
        return this;
    }

    /**
     * Get the expression property: The expression for preview.
     *
     * @return the expression value.
     */
    public String getExpression() {
        return this.expression;
    }

    /**
     * Set the expression property: The expression for preview.
     *
     * @param expression the expression value to set.
     * @return the EvaluateDataFlowExpressionRequest object itself.
     */
    public EvaluateDataFlowExpressionRequest setExpression(String expression) {
        this.expression = expression;
        return this;
    }
}