DataFlowDebugCommandRequest Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.DataFlowDebugCommandRequest

Implements

public final class DataFlowDebugCommandRequest
implements JsonSerializable<DataFlowDebugCommandRequest>

Request body structure for data flow expression preview.

Constructor Summary

Constructor Description
DataFlowDebugCommandRequest()

Creates an instance of DataFlowDebugCommandRequest class.

Method Summary

Modifier and Type Method and Description
static DataFlowDebugCommandRequest fromJson(JsonReader jsonReader)

Reads an instance of DataFlowDebugCommandRequest from the JsonReader.

DataFlowDebugCommandType getCommand()

Get the command property: The command type.

DataFlowDebugCommandPayload getCommandPayload()

Get the commandPayload property: The command payload object.

String getSessionId()

Get the sessionId property: The ID of data flow debug session.

DataFlowDebugCommandRequest setCommand(DataFlowDebugCommandType command)

Set the command property: The command type.

DataFlowDebugCommandRequest setCommandPayload(DataFlowDebugCommandPayload commandPayload)

Set the commandPayload property: The command payload object.

DataFlowDebugCommandRequest setSessionId(String sessionId)

Set the sessionId property: The ID of data flow debug session.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

DataFlowDebugCommandRequest

public DataFlowDebugCommandRequest()

Creates an instance of DataFlowDebugCommandRequest class.

Method Details

fromJson

public static DataFlowDebugCommandRequest fromJson(JsonReader jsonReader)

Reads an instance of DataFlowDebugCommandRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataFlowDebugCommandRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DataFlowDebugCommandRequest.

getCommand

public DataFlowDebugCommandType getCommand()

Get the command property: The command type.

Returns:

the command value.

getCommandPayload

public DataFlowDebugCommandPayload getCommandPayload()

Get the commandPayload property: The command payload object.

Returns:

the commandPayload value.

getSessionId

public String getSessionId()

Get the sessionId property: The ID of data flow debug session.

Returns:

the sessionId value.

setCommand

public DataFlowDebugCommandRequest setCommand(DataFlowDebugCommandType command)

Set the command property: The command type.

Parameters:

command - the command value to set.

Returns:

the DataFlowDebugCommandRequest object itself.

setCommandPayload

public DataFlowDebugCommandRequest setCommandPayload(DataFlowDebugCommandPayload commandPayload)

Set the commandPayload property: The command payload object.

Parameters:

commandPayload - the commandPayload value to set.

Returns:

the DataFlowDebugCommandRequest object itself.

setSessionId

public DataFlowDebugCommandRequest setSessionId(String sessionId)

Set the sessionId property: The ID of data flow debug session.

Parameters:

sessionId - the sessionId value to set.

Returns:

the DataFlowDebugCommandRequest object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to