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 Stringscript()Get the script property: source script.voidvalidate()Validates the instance.PowerQuerySourcewithDataset(DatasetReference dataset)Set the dataset property: Dataset reference.PowerQuerySourcewithDescription(String description)Set the description property: Transformation description.PowerQuerySourcewithFlowlet(DataFlowReference flowlet)Set the flowlet property: Flowlet Reference.PowerQuerySourcewithLinkedService(LinkedServiceReference linkedService)Set the linkedService property: Linked service reference.PowerQuerySourcewithName(String name)Set the name property: Transformation name.PowerQuerySourcewithSchemaLinkedService(LinkedServiceReference schemaLinkedService)Set the schemaLinkedService property: Schema linked service reference.PowerQuerySourcewithScript(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:
withSchemaLinkedServicein 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:
withNamein 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:
withDescriptionin 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:
withDatasetin 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:
withLinkedServicein 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:
withFlowletin classDataFlowSource- Parameters:
flowlet- the flowlet value to set.- Returns:
- the Transformation object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDataFlowSource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-