Class PowerQuerySource
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Transformation
-
- com.azure.resourcemanager.datafactory.models.DataFlowSource
-
- com.azure.resourcemanager.datafactory.models.PowerQuerySource
-
public final class PowerQuerySource extends DataFlowSource
Power query source.
-
-
Constructor Summary
Constructors Constructor Description PowerQuerySource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
script()
Get the script property: source script.void
validate()
Validates the instance.PowerQuerySource
withDataset(DatasetReference dataset)
Set the dataset property: Dataset reference.PowerQuerySource
withDescription(String description)
Set the description property: Transformation description.PowerQuerySource
withFlowlet(DataFlowReference flowlet)
Set the flowlet property: Flowlet Reference.PowerQuerySource
withLinkedService(LinkedServiceReference linkedService)
Set the linkedService property: Linked service reference.PowerQuerySource
withName(String name)
Set the name property: Transformation name.PowerQuerySource
withSchemaLinkedService(LinkedServiceReference schemaLinkedService)
Set the schemaLinkedService property: Schema linked service reference.PowerQuerySource
withScript(String script)
Set the script property: source script.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.DataFlowSource
schemaLinkedService
-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Transformation
dataset, description, flowlet, linkedService, name
-
-
-
-
Method Detail
-
script
public String script()
Get the script property: source script.- Returns:
- the script value.
-
withScript
public PowerQuerySource withScript(String script)
Set the script property: source script.- Parameters:
script
- the script value to set.- Returns:
- the PowerQuerySource object itself.
-
withSchemaLinkedService
public PowerQuerySource withSchemaLinkedService(LinkedServiceReference schemaLinkedService)
Set the schemaLinkedService property: Schema linked service reference.- Overrides:
withSchemaLinkedService
in classDataFlowSource
- Parameters:
schemaLinkedService
- the schemaLinkedService value to set.- Returns:
- the DataFlowSource object itself.
-
withName
public PowerQuerySource withName(String name)
Set the name property: Transformation name.- Overrides:
withName
in classDataFlowSource
- Parameters:
name
- the name value to set.- Returns:
- the Transformation object itself.
-
withDescription
public PowerQuerySource withDescription(String description)
Set the description property: Transformation description.- Overrides:
withDescription
in classDataFlowSource
- Parameters:
description
- the description value to set.- Returns:
- the Transformation object itself.
-
withDataset
public PowerQuerySource withDataset(DatasetReference dataset)
Set the dataset property: Dataset reference.- Overrides:
withDataset
in classDataFlowSource
- Parameters:
dataset
- the dataset value to set.- Returns:
- the Transformation object itself.
-
withLinkedService
public PowerQuerySource withLinkedService(LinkedServiceReference linkedService)
Set the linkedService property: Linked service reference.- Overrides:
withLinkedService
in classDataFlowSource
- Parameters:
linkedService
- the linkedService value to set.- Returns:
- the Transformation object itself.
-
withFlowlet
public PowerQuerySource withFlowlet(DataFlowReference flowlet)
Set the flowlet property: Flowlet Reference.- Overrides:
withFlowlet
in classDataFlowSource
- Parameters:
flowlet
- the flowlet value to set.- Returns:
- the Transformation object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDataFlowSource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-