DataFlowDebugCommandRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.DataFlowDebugCommandRequest

Implements

public final class DataFlowDebugCommandRequest
implements JsonSerializable<DataFlowDebugCommandRequest>

Request body structure for data flow debug command.

Constructor Summary

Constructor Description
DataFlowDebugCommandRequest()

Creates an instance of DataFlowDebugCommandRequest class.

Method Summary

Modifier and Type Method and Description
DataFlowDebugCommandType command()

Get the command property: The command type.

DataFlowDebugCommandPayload commandPayload()

Get the commandPayload property: The command payload object.

static DataFlowDebugCommandRequest fromJson(JsonReader jsonReader)

Reads an instance of DataFlowDebugCommandRequest from the JsonReader.

String sessionId()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataFlowDebugCommandRequest withCommand(DataFlowDebugCommandType command)

Set the command property: The command type.

DataFlowDebugCommandRequest withCommandPayload(DataFlowDebugCommandPayload commandPayload)

Set the commandPayload property: The command payload object.

DataFlowDebugCommandRequest withSessionId(String sessionId)

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

Methods inherited from java.lang.Object

Constructor Details

DataFlowDebugCommandRequest

public DataFlowDebugCommandRequest()

Creates an instance of DataFlowDebugCommandRequest class.

Method Details

command

public DataFlowDebugCommandType command()

Get the command property: The command type.

Returns:

the command value.

commandPayload

public DataFlowDebugCommandPayload commandPayload()

Get the commandPayload property: The command payload object.

Returns:

the commandPayload value.

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.

sessionId

public String sessionId()

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

Returns:

the sessionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCommand

public DataFlowDebugCommandRequest withCommand(DataFlowDebugCommandType command)

Set the command property: The command type.

Parameters:

command - the command value to set.

Returns:

the DataFlowDebugCommandRequest object itself.

withCommandPayload

public DataFlowDebugCommandRequest withCommandPayload(DataFlowDebugCommandPayload commandPayload)

Set the commandPayload property: The command payload object.

Parameters:

commandPayload - the commandPayload value to set.

Returns:

the DataFlowDebugCommandRequest object itself.

withSessionId

public DataFlowDebugCommandRequest withSessionId(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.

Applies to