Class GetMetadataActivity


public final class GetMetadataActivity extends ExecutionActivity
Activity to get metadata of dataset.
  • Constructor Details

    • GetMetadataActivity

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

    • withLinkedServiceName

      public GetMetadataActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
      Set the linkedServiceName property: Linked service reference.
      Overrides:
      withLinkedServiceName in class ExecutionActivity
      Parameters:
      linkedServiceName - the linkedServiceName value to set.
      Returns:
      the ExecutionActivity object itself.
    • withPolicy

      public GetMetadataActivity withPolicy(ActivityPolicy policy)
      Set the policy property: Activity policy.
      Overrides:
      withPolicy in class ExecutionActivity
      Parameters:
      policy - the policy value to set.
      Returns:
      the ExecutionActivity object itself.
    • withName

      public GetMetadataActivity withName(String name)
      Set the name property: Activity name.
      Overrides:
      withName in class ExecutionActivity
      Parameters:
      name - the name value to set.
      Returns:
      the Activity object itself.
    • withDescription

      public GetMetadataActivity withDescription(String description)
      Set the description property: Activity description.
      Overrides:
      withDescription in class ExecutionActivity
      Parameters:
      description - the description value to set.
      Returns:
      the Activity object itself.
    • withDependsOn

      public GetMetadataActivity withDependsOn(List<ActivityDependency> dependsOn)
      Set the dependsOn property: Activity depends on condition.
      Overrides:
      withDependsOn in class ExecutionActivity
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the Activity object itself.
    • withUserProperties

      public GetMetadataActivity withUserProperties(List<UserProperty> userProperties)
      Set the userProperties property: Activity user properties.
      Overrides:
      withUserProperties in class ExecutionActivity
      Parameters:
      userProperties - the userProperties value to set.
      Returns:
      the Activity object itself.
    • dataset

      public DatasetReference dataset()
      Get the dataset property: GetMetadata activity dataset reference.
      Returns:
      the dataset value.
    • withDataset

      public GetMetadataActivity withDataset(DatasetReference dataset)
      Set the dataset property: GetMetadata activity dataset reference.
      Parameters:
      dataset - the dataset value to set.
      Returns:
      the GetMetadataActivity object itself.
    • fieldList

      public List<Object> fieldList()
      Get the fieldList property: Fields of metadata to get from dataset.
      Returns:
      the fieldList value.
    • withFieldList

      public GetMetadataActivity withFieldList(List<Object> fieldList)
      Set the fieldList property: Fields of metadata to get from dataset.
      Parameters:
      fieldList - the fieldList value to set.
      Returns:
      the GetMetadataActivity object itself.
    • storeSettings

      public StoreReadSettings storeSettings()
      Get the storeSettings property: GetMetadata activity store settings.
      Returns:
      the storeSettings value.
    • withStoreSettings

      public GetMetadataActivity withStoreSettings(StoreReadSettings storeSettings)
      Set the storeSettings property: GetMetadata activity store settings.
      Parameters:
      storeSettings - the storeSettings value to set.
      Returns:
      the GetMetadataActivity object itself.
    • formatSettings

      public FormatReadSettings formatSettings()
      Get the formatSettings property: GetMetadata activity format settings.
      Returns:
      the formatSettings value.
    • withFormatSettings

      public GetMetadataActivity withFormatSettings(FormatReadSettings formatSettings)
      Set the formatSettings property: GetMetadata activity format settings.
      Parameters:
      formatSettings - the formatSettings value to set.
      Returns:
      the GetMetadataActivity object itself.
    • validate

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