Class PowerQuerySource


public final class PowerQuerySource extends DataFlowSource
Power query source.
  • Constructor Details

    • PowerQuerySource

      public PowerQuerySource()
      Creates an instance of PowerQuerySource class.
  • Method Details

    • 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 class DataFlowSource
      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 class DataFlowSource
      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 class DataFlowSource
      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 class DataFlowSource
      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 class DataFlowSource
      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 class DataFlowSource
      Parameters:
      flowlet - the flowlet value to set.
      Returns:
      the Transformation object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DataFlowSource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.