DataFlowDebugPreviewDataRequest.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 preview data. */
@Fluent
public final class DataFlowDebugPreviewDataRequest {
    /*
     * 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;

    /**
     * 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 DataFlowDebugPreviewDataRequest object itself.
     */
    public DataFlowDebugPreviewDataRequest 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 DataFlowDebugPreviewDataRequest object itself.
     */
    public DataFlowDebugPreviewDataRequest 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 DataFlowDebugPreviewDataRequest object itself.
     */
    public DataFlowDebugPreviewDataRequest 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 DataFlowDebugPreviewDataRequest object itself.
     */
    public DataFlowDebugPreviewDataRequest setRowLimits(Integer rowLimits) {
        this.rowLimits = rowLimits;
        return this;
    }
}