Class Flowlet
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.DataFlow
-
- com.azure.resourcemanager.datafactory.models.Flowlet
-
public final class Flowlet extends DataFlow
Data flow flowlet.
-
-
Constructor Summary
Constructors Constructor Description Flowlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringscript()Get the script property: Flowlet script.List<String>scriptLines()Get the scriptLines property: Flowlet script lines.List<DataFlowSink>sinks()Get the sinks property: List of sinks in Flowlet.List<DataFlowSource>sources()Get the sources property: List of sources in Flowlet.List<Transformation>transformations()Get the transformations property: List of transformations in Flowlet.voidvalidate()Validates the instance.FlowletwithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the data flow.FlowletwithDescription(String description)Set the description property: The description of the data flow.FlowletwithFolder(DataFlowFolder folder)Set the folder property: The folder that this data flow is in.FlowletwithScript(String script)Set the script property: Flowlet script.FlowletwithScriptLines(List<String> scriptLines)Set the scriptLines property: Flowlet script lines.FlowletwithSinks(List<DataFlowSink> sinks)Set the sinks property: List of sinks in Flowlet.FlowletwithSources(List<DataFlowSource> sources)Set the sources property: List of sources in Flowlet.FlowletwithTransformations(List<Transformation> transformations)Set the transformations property: List of transformations in Flowlet.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.DataFlow
annotations, description, folder
-
-
-
-
Method Detail
-
withDescription
public Flowlet 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 Flowlet 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 Flowlet 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 Flowlet.- Returns:
- the sources value.
-
withSources
public Flowlet withSources(List<DataFlowSource> sources)
Set the sources property: List of sources in Flowlet.- Parameters:
sources- the sources value to set.- Returns:
- the Flowlet object itself.
-
sinks
public List<DataFlowSink> sinks()
Get the sinks property: List of sinks in Flowlet.- Returns:
- the sinks value.
-
withSinks
public Flowlet withSinks(List<DataFlowSink> sinks)
Set the sinks property: List of sinks in Flowlet.- Parameters:
sinks- the sinks value to set.- Returns:
- the Flowlet object itself.
-
transformations
public List<Transformation> transformations()
Get the transformations property: List of transformations in Flowlet.- Returns:
- the transformations value.
-
withTransformations
public Flowlet withTransformations(List<Transformation> transformations)
Set the transformations property: List of transformations in Flowlet.- Parameters:
transformations- the transformations value to set.- Returns:
- the Flowlet object itself.
-
script
public String script()
Get the script property: Flowlet script.- Returns:
- the script value.
-
withScript
public Flowlet withScript(String script)
Set the script property: Flowlet script.- Parameters:
script- the script value to set.- Returns:
- the Flowlet object itself.
-
scriptLines
public List<String> scriptLines()
Get the scriptLines property: Flowlet script lines.- Returns:
- the scriptLines value.
-
withScriptLines
public Flowlet withScriptLines(List<String> scriptLines)
Set the scriptLines property: Flowlet script lines.- Parameters:
scriptLines- the scriptLines value to set.- Returns:
- the Flowlet object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDataFlow- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-