DataflowGraphNodeGraphSettings Class

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

Implements

public final class DataflowGraphNodeGraphSettings
implements JsonSerializable<DataflowGraphNodeGraphSettings>

DataflowGraph graph node settings.

Constructor Summary

Constructor Description
DataflowGraphNodeGraphSettings()

Creates an instance of DataflowGraphNodeGraphSettings class.

Method Summary

Modifier and Type Method and Description
String artifact()

Get the artifact property: The artifact name and version to pull.

List<DataflowGraphGraphNodeConfiguration> configuration()

Get the configuration property: Configuration key-value pairs.

static DataflowGraphNodeGraphSettings fromJson(JsonReader jsonReader)

Reads an instance of DataflowGraphNodeGraphSettings from the JsonReader.

String registryEndpointRef()

Get the registryEndpointRef property: Reference to the registry endpoint for pulling the artifact.

JsonWriter toJson(JsonWriter jsonWriter)
DataflowGraphNodeGraphSettings withArtifact(String artifact)

Set the artifact property: The artifact name and version to pull.

DataflowGraphNodeGraphSettings withConfiguration(List<DataflowGraphGraphNodeConfiguration> configuration)

Set the configuration property: Configuration key-value pairs.

DataflowGraphNodeGraphSettings withRegistryEndpointRef(String registryEndpointRef)

Set the registryEndpointRef property: Reference to the registry endpoint for pulling the artifact.

Methods inherited from java.lang.Object

Constructor Details

DataflowGraphNodeGraphSettings

public DataflowGraphNodeGraphSettings()

Creates an instance of DataflowGraphNodeGraphSettings class.

Method Details

artifact

public String artifact()

Get the artifact property: The artifact name and version to pull. This should be in the format `<artifact-name>:<version>`.

Returns:

the artifact value.

configuration

public List<DataflowGraphGraphNodeConfiguration> configuration()

Get the configuration property: Configuration key-value pairs.

Returns:

the configuration value.

fromJson

public static DataflowGraphNodeGraphSettings fromJson(JsonReader jsonReader)

Reads an instance of DataflowGraphNodeGraphSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataflowGraphNodeGraphSettings 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.

registryEndpointRef

public String registryEndpointRef()

Get the registryEndpointRef property: Reference to the registry endpoint for pulling the artifact.

Returns:

the registryEndpointRef value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withArtifact

public DataflowGraphNodeGraphSettings withArtifact(String artifact)

Set the artifact property: The artifact name and version to pull. This should be in the format `<artifact-name>:<version>`.

Parameters:

artifact - the artifact value to set.

Returns:

the DataflowGraphNodeGraphSettings object itself.

withConfiguration

public DataflowGraphNodeGraphSettings withConfiguration(List<DataflowGraphGraphNodeConfiguration> configuration)

Set the configuration property: Configuration key-value pairs.

Parameters:

configuration - the configuration value to set.

Returns:

the DataflowGraphNodeGraphSettings object itself.

withRegistryEndpointRef

public DataflowGraphNodeGraphSettings withRegistryEndpointRef(String registryEndpointRef)

Set the registryEndpointRef property: Reference to the registry endpoint for pulling the artifact.

Parameters:

registryEndpointRef - the registryEndpointRef value to set.

Returns:

the DataflowGraphNodeGraphSettings object itself.

Applies to