Class MappingDataFlow
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.DataFlow
-
- com.azure.resourcemanager.datafactory.models.MappingDataFlow
-
public final class MappingDataFlow extends DataFlow
Mapping data flow.
-
-
Constructor Summary
Constructors Constructor Description MappingDataFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringscript()Get the script property: DataFlow script.List<String>scriptLines()Get the scriptLines property: Data flow script lines.List<DataFlowSink>sinks()Get the sinks property: List of sinks in data flow.List<DataFlowSource>sources()Get the sources property: List of sources in data flow.List<Transformation>transformations()Get the transformations property: List of transformations in data flow.voidvalidate()Validates the instance.MappingDataFlowwithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the data flow.MappingDataFlowwithDescription(String description)Set the description property: The description of the data flow.MappingDataFlowwithFolder(DataFlowFolder folder)Set the folder property: The folder that this data flow is in.MappingDataFlowwithScript(String script)Set the script property: DataFlow script.MappingDataFlowwithScriptLines(List<String> scriptLines)Set the scriptLines property: Data flow script lines.MappingDataFlowwithSinks(List<DataFlowSink> sinks)Set the sinks property: List of sinks in data flow.MappingDataFlowwithSources(List<DataFlowSource> sources)Set the sources property: List of sources in data flow.MappingDataFlowwithTransformations(List<Transformation> transformations)Set the transformations property: List of transformations in data flow.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.DataFlow
annotations, description, folder
-
-
-
-
Method Detail
-
withDescription
public MappingDataFlow withDescription(String description)
Set the description property: The description of the data flow.- Overrides:
withDescriptionin classDataFlow- Parameters:
description- the description value to set.- Returns:
- the DataFlow object itself.
-
withAnnotations
public MappingDataFlow withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the data flow.- Overrides:
withAnnotationsin classDataFlow- Parameters:
annotations- the annotations value to set.- Returns:
- the DataFlow object itself.
-
withFolder
public MappingDataFlow withFolder(DataFlowFolder folder)
Set the folder property: The folder that this data flow is in. If not specified, Data flow will appear at the root level.- Overrides:
withFolderin classDataFlow- Parameters:
folder- the folder value to set.- Returns:
- the DataFlow object itself.
-
sources
public List<DataFlowSource> sources()
Get the sources property: List of sources in data flow.- Returns:
- the sources value.
-
withSources
public MappingDataFlow withSources(List<DataFlowSource> sources)
Set the sources property: List of sources in data flow.- Parameters:
sources- the sources value to set.- Returns:
- the MappingDataFlow object itself.
-
sinks
public List<DataFlowSink> sinks()
Get the sinks property: List of sinks in data flow.- Returns:
- the sinks value.
-
withSinks
public MappingDataFlow withSinks(List<DataFlowSink> sinks)
Set the sinks property: List of sinks in data flow.- Parameters:
sinks- the sinks value to set.- Returns:
- the MappingDataFlow object itself.
-
transformations
public List<Transformation> transformations()
Get the transformations property: List of transformations in data flow.- Returns:
- the transformations value.
-
withTransformations
public MappingDataFlow withTransformations(List<Transformation> transformations)
Set the transformations property: List of transformations in data flow.- Parameters:
transformations- the transformations value to set.- Returns:
- the MappingDataFlow object itself.
-
script
public String script()
Get the script property: DataFlow script.- Returns:
- the script value.
-
withScript
public MappingDataFlow withScript(String script)
Set the script property: DataFlow script.- Parameters:
script- the script value to set.- Returns:
- the MappingDataFlow object itself.
-
scriptLines
public List<String> scriptLines()
Get the scriptLines property: Data flow script lines.- Returns:
- the scriptLines value.
-
withScriptLines
public MappingDataFlow withScriptLines(List<String> scriptLines)
Set the scriptLines property: Data flow script lines.- Parameters:
scriptLines- the scriptLines value to set.- Returns:
- the MappingDataFlow object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDataFlow- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-