Class CopyActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.CopyActivityTypeProperties
Copy activity properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CopyActivityTypeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dataIntegrationUnits property: Maximum number of data integration units that can be used to perform this data movement.Get the enableSkipIncompatibleRow property: Whether to skip incompatible row.Get the enableStaging property: Specifies whether to copy data via an interim staging.Get the logSettings property: Log settings customer needs provide when enabling log.Get the logStorageSettings property: (Deprecated.Get the parallelCopies property: Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store.preserve()Get the preserve property: Preserve rules.Get the preserveRules property: Preserve Rules.Get the redirectIncompatibleRowSettings property: Redirect incompatible row settings when EnableSkipIncompatibleRow is true.sink()Get the sink property: Copy activity sink.Get the skipErrorFile property: Specify the fault tolerance for data consistency.source()Get the source property: Copy activity source.Get the stagingSettings property: Specifies interim staging settings when EnableStaging is true.Get the translator property: Copy activity translator.voidvalidate()Validates the instance.Get the validateDataConsistency property: Whether to enable Data Consistency validation.withDataIntegrationUnits(Object dataIntegrationUnits) Set the dataIntegrationUnits property: Maximum number of data integration units that can be used to perform this data movement.withEnableSkipIncompatibleRow(Object enableSkipIncompatibleRow) Set the enableSkipIncompatibleRow property: Whether to skip incompatible row.withEnableStaging(Object enableStaging) Set the enableStaging property: Specifies whether to copy data via an interim staging.withLogSettings(LogSettings logSettings) Set the logSettings property: Log settings customer needs provide when enabling log.withLogStorageSettings(LogStorageSettings logStorageSettings) Set the logStorageSettings property: (Deprecated.withParallelCopies(Object parallelCopies) Set the parallelCopies property: Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store.withPreserve(List<Object> preserve) Set the preserve property: Preserve rules.withPreserveRules(List<Object> preserveRules) Set the preserveRules property: Preserve Rules.withRedirectIncompatibleRowSettings(RedirectIncompatibleRowSettings redirectIncompatibleRowSettings) Set the redirectIncompatibleRowSettings property: Redirect incompatible row settings when EnableSkipIncompatibleRow is true.Set the sink property: Copy activity sink.withSkipErrorFile(SkipErrorFile skipErrorFile) Set the skipErrorFile property: Specify the fault tolerance for data consistency.withSource(CopySource source) Set the source property: Copy activity source.withStagingSettings(StagingSettings stagingSettings) Set the stagingSettings property: Specifies interim staging settings when EnableStaging is true.withTranslator(Object translator) Set the translator property: Copy activity translator.withValidateDataConsistency(Object validateDataConsistency) Set the validateDataConsistency property: Whether to enable Data Consistency validation.
-
Constructor Details
-
CopyActivityTypeProperties
public CopyActivityTypeProperties()Creates an instance of CopyActivityTypeProperties class.
-
-
Method Details
-
source
Get the source property: Copy activity source.- Returns:
- the source value.
-
withSource
Set the source property: Copy activity source.- Parameters:
source- the source value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
sink
Get the sink property: Copy activity sink.- Returns:
- the sink value.
-
withSink
Set the sink property: Copy activity sink.- Parameters:
sink- the sink value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
translator
Get the translator property: Copy activity translator. If not specified, tabular translator is used.- Returns:
- the translator value.
-
withTranslator
Set the translator property: Copy activity translator. If not specified, tabular translator is used.- Parameters:
translator- the translator value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
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:
- the enableStaging value.
-
withEnableStaging
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:
enableStaging- the enableStaging value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
stagingSettings
Get the stagingSettings property: Specifies interim staging settings when EnableStaging is true.- Returns:
- the stagingSettings value.
-
withStagingSettings
Set the stagingSettings property: Specifies interim staging settings when EnableStaging is true.- Parameters:
stagingSettings- the stagingSettings value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
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:
- the parallelCopies value.
-
withParallelCopies
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:
parallelCopies- the parallelCopies value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
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:
- the dataIntegrationUnits value.
-
withDataIntegrationUnits
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:
dataIntegrationUnits- the dataIntegrationUnits value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
enableSkipIncompatibleRow
Get the enableSkipIncompatibleRow property: Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).- Returns:
- the enableSkipIncompatibleRow value.
-
withEnableSkipIncompatibleRow
Set the enableSkipIncompatibleRow property: Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).- Parameters:
enableSkipIncompatibleRow- the enableSkipIncompatibleRow value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
redirectIncompatibleRowSettings
Get the redirectIncompatibleRowSettings property: Redirect incompatible row settings when EnableSkipIncompatibleRow is true.- Returns:
- the redirectIncompatibleRowSettings value.
-
withRedirectIncompatibleRowSettings
public CopyActivityTypeProperties withRedirectIncompatibleRowSettings(RedirectIncompatibleRowSettings redirectIncompatibleRowSettings) Set the redirectIncompatibleRowSettings property: Redirect incompatible row settings when EnableSkipIncompatibleRow is true.- Parameters:
redirectIncompatibleRowSettings- the redirectIncompatibleRowSettings value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
logStorageSettings
Get the logStorageSettings property: (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log.- Returns:
- the logStorageSettings value.
-
withLogStorageSettings
Set the logStorageSettings property: (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log.- Parameters:
logStorageSettings- the logStorageSettings value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
logSettings
Get the logSettings property: Log settings customer needs provide when enabling log.- Returns:
- the logSettings value.
-
withLogSettings
Set the logSettings property: Log settings customer needs provide when enabling log.- Parameters:
logSettings- the logSettings value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
preserveRules
Get the preserveRules property: Preserve Rules.- Returns:
- the preserveRules value.
-
withPreserveRules
Set the preserveRules property: Preserve Rules.- Parameters:
preserveRules- the preserveRules value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
preserve
Get the preserve property: Preserve rules.- Returns:
- the preserve value.
-
withPreserve
Set the preserve property: Preserve rules.- Parameters:
preserve- the preserve value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
validateDataConsistency
Get the validateDataConsistency property: Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean).- Returns:
- the validateDataConsistency value.
-
withValidateDataConsistency
Set the validateDataConsistency property: Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean).- Parameters:
validateDataConsistency- the validateDataConsistency value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
skipErrorFile
Get the skipErrorFile property: Specify the fault tolerance for data consistency.- Returns:
- the skipErrorFile value.
-
withSkipErrorFile
Set the skipErrorFile property: Specify the fault tolerance for data consistency.- Parameters:
skipErrorFile- the skipErrorFile value to set.- Returns:
- the CopyActivityTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-