Class DWCopyCommandSettings

java.lang.Object
com.azure.resourcemanager.datafactory.models.DWCopyCommandSettings

public final class DWCopyCommandSettings extends Object
DW Copy Command settings.
  • Constructor Details

    • DWCopyCommandSettings

      public DWCopyCommandSettings()
  • Method Details

    • defaultValues

      public List<DWCopyCommandDefaultValue> defaultValues()
      Get the defaultValues property: Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).
      Returns:
      the defaultValues value.
    • withDefaultValues

      public DWCopyCommandSettings withDefaultValues(List<DWCopyCommandDefaultValue> defaultValues)
      Set the defaultValues property: Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).
      Parameters:
      defaultValues - the defaultValues value to set.
      Returns:
      the DWCopyCommandSettings object itself.
    • additionalOptions

      public Map<String,String> additionalOptions()
      Get the additionalOptions property: Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }.
      Returns:
      the additionalOptions value.
    • withAdditionalOptions

      public DWCopyCommandSettings withAdditionalOptions(Map<String,String> additionalOptions)
      Set the additionalOptions property: Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }.
      Parameters:
      additionalOptions - the additionalOptions value to set.
      Returns:
      the DWCopyCommandSettings object itself.
    • validate

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