DataflowGraphNode Class

  • java.lang.Object
    • com.azure.resourcemanager.iotoperations.models.DataflowGraphNode

Implements

public class DataflowGraphNode
implements JsonSerializable<DataflowGraphNode>

DataflowGraph node properties.

Constructor Summary

Constructor Description
DataflowGraphNode()

Creates an instance of DataflowGraphNode class.

Method Summary

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

Reads an instance of DataflowGraphNode from the JsonReader.

String name()

Get the name property: Name of the node.

DataflowGraphNodeType nodeType()

Get the nodeType property: Type of the node.

JsonWriter toJson(JsonWriter jsonWriter)
DataflowGraphNode withName(String name)

Set the name property: Name of the node.

Methods inherited from java.lang.Object

Constructor Details

DataflowGraphNode

public DataflowGraphNode()

Creates an instance of DataflowGraphNode class.

Method Details

fromJson

public static DataflowGraphNode fromJson(JsonReader jsonReader)

Reads an instance of DataflowGraphNode from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public String name()

Get the name property: Name of the node.

Returns:

the name value.

nodeType

public DataflowGraphNodeType nodeType()

Get the nodeType property: Type of the node.

Returns:

the nodeType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withName

public DataflowGraphNode withName(String name)

Set the name property: Name of the node.

Parameters:

name - the name value to set.

Returns:

the DataflowGraphNode object itself.

Applies to