CopyActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ExecutionActivity - com.
azure. resourcemanager. datafactory. models. CopyActivity
- com.
- com.
- com.
public final class CopyActivity
extends ExecutionActivity
Copy activity.
Constructor Summary
| Constructor | Description |
|---|---|
| CopyActivity() |
Creates an instance of Copy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Object |
dataIntegrationUnits()
Get the data |
| Object |
enableSkipIncompatibleRow()
Get the enable |
| Object |
enableStaging()
Get the enable |
|
static
Copy |
fromJson(JsonReader jsonReader)
Reads an instance of Copy |
|
List<Dataset |
inputs()
Get the inputs property: List of inputs for the activity. |
|
Log |
logSettings()
Get the log |
|
Log |
logStorageSettings()
Get the log |
|
List<Dataset |
outputs()
Get the outputs property: List of outputs for the activity. |
| Object |
parallelCopies()
Get the parallel |
| List<Object> |
preserve()
Get the preserve property: Preserve rules. |
| List<Object> |
preserveRules()
Get the preserve |
|
Redirect |
redirectIncompatibleRowSettings()
Get the redirect |
|
Copy |
sink()
Get the sink property: Copy activity sink. |
|
Skip |
skipErrorFile()
Get the skip |
|
Copy |
source()
Get the source property: Copy activity source. |
|
Staging |
stagingSettings()
Get the staging |
|
Json |
toJson(JsonWriter jsonWriter) |
| Object |
translator()
Get the translator property: Copy activity translator. |
| String |
type()
Get the type property: Type of activity. |
| void |
validate()
Validates the instance. |
| Object |
validateDataConsistency()
Get the validate |
|
Copy |
withDataIntegrationUnits(Object dataIntegrationUnits)
Set the data |
|
Copy |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Copy |
withDescription(String description)
Set the description property: Activity description. |
|
Copy |
withEnableSkipIncompatibleRow(Object enableSkipIncompatibleRow)
Set the enable |
|
Copy |
withEnableStaging(Object enableStaging)
Set the enable |
|
Copy |
withInputs(List<DatasetReference> inputs)
Set the inputs property: List of inputs for the activity. |
|
Copy |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linked |
|
Copy |
withLogSettings(LogSettings logSettings)
Set the log |
|
Copy |
withLogStorageSettings(LogStorageSettings logStorageSettings)
Set the log |
|
Copy |
withName(String name)
Set the name property: Activity name. |
|
Copy |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Copy |
withOutputs(List<DatasetReference> outputs)
Set the outputs property: List of outputs for the activity. |
|
Copy |
withParallelCopies(Object parallelCopies)
Set the parallel |
|
Copy |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy. |
|
Copy |
withPreserve(List<Object> preserve)
Set the preserve property: Preserve rules. |
|
Copy |
withPreserveRules(List<Object> preserveRules)
Set the preserve |
|
Copy |
withRedirectIncompatibleRowSettings(RedirectIncompatibleRowSettings redirectIncompatibleRowSettings)
Set the redirect |
|
Copy |
withSink(CopySink sink)
Set the sink property: Copy activity sink. |
|
Copy |
withSkipErrorFile(SkipErrorFile skipErrorFile)
Set the skip |
|
Copy |
withSource(CopySource source)
Set the source property: Copy activity source. |
|
Copy |
withStagingSettings(StagingSettings stagingSettings)
Set the staging |
|
Copy |
withState(ActivityState state)
Set the state property: Activity state. |
|
Copy |
withTranslator(Object translator)
Set the translator property: Copy activity translator. |
|
Copy |
withUserProperties(List<UserProperty> userProperties)
Set the user |
|
Copy |
withValidateDataConsistency(Object validateDataConsistency)
Set the validate |
Methods inherited from Activity
Methods inherited from ExecutionActivity
Methods inherited from java.lang.Object
Constructor Details
CopyActivity
public CopyActivity()
Creates an instance of CopyActivity class.
Method Details
dataIntegrationUnits
public Object dataIntegrationUnits()
Get the dataIntegrationUnits property: Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0.
Returns:
enableSkipIncompatibleRow
public Object enableSkipIncompatibleRow()
Get the enableSkipIncompatibleRow property: Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).
Returns:
enableStaging
public Object enableStaging()
Get the enableStaging property: Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean).
Returns:
fromJson
public static CopyActivity fromJson(JsonReader jsonReader)
Reads an instance of CopyActivity from the JsonReader.
Parameters:
Returns:
Throws:
inputs
public List<DatasetReference> inputs()
Get the inputs property: List of inputs for the activity.
Returns:
logSettings
public LogSettings logSettings()
Get the logSettings property: Log settings customer needs provide when enabling log.
Returns:
logStorageSettings
public LogStorageSettings logStorageSettings()
Get the logStorageSettings property: (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log.
Returns:
outputs
public List<DatasetReference> outputs()
Get the outputs property: List of outputs for the activity.
Returns:
parallelCopies
public Object parallelCopies()
Get the parallelCopies property: Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0.
Returns:
preserve
public List<Object> preserve()
Get the preserve property: Preserve rules.
Returns:
preserveRules
public List<Object> preserveRules()
Get the preserveRules property: Preserve Rules.
Returns:
redirectIncompatibleRowSettings
public RedirectIncompatibleRowSettings redirectIncompatibleRowSettings()
Get the redirectIncompatibleRowSettings property: Redirect incompatible row settings when EnableSkipIncompatibleRow is true.
Returns:
sink
public CopySink sink()
Get the sink property: Copy activity sink.
Returns:
skipErrorFile
public SkipErrorFile skipErrorFile()
Get the skipErrorFile property: Specify the fault tolerance for data consistency.
Returns:
source
public CopySource source()
Get the source property: Copy activity source.
Returns:
stagingSettings
public StagingSettings stagingSettings()
Get the stagingSettings property: Specifies interim staging settings when EnableStaging is true.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CopyActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
translator
public Object translator()
Get the translator property: Copy activity translator. If not specified, tabular translator is used.
Returns:
type
public String type()
Get the type property: Type of activity.
Overrides:
CopyActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CopyActivity.validate()validateDataConsistency
public Object validateDataConsistency()
Get the validateDataConsistency property: Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean).
Returns:
withDataIntegrationUnits
public CopyActivity withDataIntegrationUnits(Object dataIntegrationUnits)
Set the dataIntegrationUnits property: Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0.
Parameters:
Returns:
withDependsOn
public CopyActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
CopyActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public CopyActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
CopyActivity.withDescription(String description)Parameters:
withEnableSkipIncompatibleRow
public CopyActivity withEnableSkipIncompatibleRow(Object enableSkipIncompatibleRow)
Set the enableSkipIncompatibleRow property: Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
withEnableStaging
public CopyActivity withEnableStaging(Object enableStaging)
Set the enableStaging property: Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
withInputs
public CopyActivity withInputs(List<DatasetReference> inputs)
Set the inputs property: List of inputs for the activity.
Parameters:
Returns:
withLinkedServiceName
public CopyActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
Overrides:
CopyActivity.withLinkedServiceName(LinkedServiceReference linkedServiceName)Parameters:
withLogSettings
public CopyActivity withLogSettings(LogSettings logSettings)
Set the logSettings property: Log settings customer needs provide when enabling log.
Parameters:
Returns:
withLogStorageSettings
public CopyActivity withLogStorageSettings(LogStorageSettings logStorageSettings)
Set the logStorageSettings property: (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log.
Parameters:
Returns:
withName
public CopyActivity withName(String name)
Set the name property: Activity name.
Overrides:
CopyActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public CopyActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
CopyActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withOutputs
public CopyActivity withOutputs(List<DatasetReference> outputs)
Set the outputs property: List of outputs for the activity.
Parameters:
Returns:
withParallelCopies
public CopyActivity withParallelCopies(Object parallelCopies)
Set the parallelCopies property: Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0.
Parameters:
Returns:
withPolicy
public CopyActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
Overrides:
CopyActivity.withPolicy(ActivityPolicy policy)Parameters:
withPreserve
public CopyActivity withPreserve(List<Object> preserve)
Set the preserve property: Preserve rules.
Parameters:
Returns:
withPreserveRules
public CopyActivity withPreserveRules(List<Object> preserveRules)
Set the preserveRules property: Preserve Rules.
Parameters:
Returns:
withRedirectIncompatibleRowSettings
public CopyActivity withRedirectIncompatibleRowSettings(RedirectIncompatibleRowSettings redirectIncompatibleRowSettings)
Set the redirectIncompatibleRowSettings property: Redirect incompatible row settings when EnableSkipIncompatibleRow is true.
Parameters:
Returns:
withSink
public CopyActivity withSink(CopySink sink)
Set the sink property: Copy activity sink.
Parameters:
Returns:
withSkipErrorFile
public CopyActivity withSkipErrorFile(SkipErrorFile skipErrorFile)
Set the skipErrorFile property: Specify the fault tolerance for data consistency.
Parameters:
Returns:
withSource
public CopyActivity withSource(CopySource source)
Set the source property: Copy activity source.
Parameters:
Returns:
withStagingSettings
public CopyActivity withStagingSettings(StagingSettings stagingSettings)
Set the stagingSettings property: Specifies interim staging settings when EnableStaging is true.
Parameters:
Returns:
withState
public CopyActivity withState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
CopyActivity.withState(ActivityState state)Parameters:
withTranslator
public CopyActivity withTranslator(Object translator)
Set the translator property: Copy activity translator. If not specified, tabular translator is used.
Parameters:
Returns:
withUserProperties
public CopyActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
CopyActivity.withUserProperties(List<UserProperty> userProperties)Parameters:
withValidateDataConsistency
public CopyActivity withValidateDataConsistency(Object validateDataConsistency)
Set the validateDataConsistency property: Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns: