Class CopySource
java.lang.Object
com.azure.resourcemanager.datafactory.models.CopySource
- Direct Known Subclasses:
AmazonRdsForOracleSource,AvroSource,AzureBlobFSSource,AzureDatabricksDeltaLakeSource,AzureDataExplorerSource,AzureDataLakeStoreSource,BinarySource,BlobSource,CommonDataServiceForAppsSource,CosmosDbMongoDbApiSource,CosmosDbSqlApiSource,DelimitedTextSource,DocumentDbCollectionSource,DynamicsCrmSource,DynamicsSource,ExcelSource,FileSystemSource,HdfsSource,HttpSource,JsonSource,MicrosoftAccessSource,MongoDbAtlasSource,MongoDbSource,MongoDbV2Source,ODataSource,Office365Source,OracleSource,OrcSource,ParquetSource,RelationalSource,RestSource,SalesforceServiceCloudSource,SharePointOnlineListSource,SnowflakeSource,TabularSource,WebSource,XmlSource
A copy activity source.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: A copy activity source.Get the disableMetricsCollection property: If true, disable data store metrics collection.Get the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.Get the sourceRetryCount property: Source retry count.Get the sourceRetryWait property: Source retry wait.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: A copy activity source.withDisableMetricsCollection(Object disableMetricsCollection) Set the disableMetricsCollection property: If true, disable data store metrics collection.withMaxConcurrentConnections(Object maxConcurrentConnections) Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.withSourceRetryCount(Object sourceRetryCount) Set the sourceRetryCount property: Source retry count.withSourceRetryWait(Object sourceRetryWait) Set the sourceRetryWait property: Source retry wait.
-
Constructor Details
-
CopySource
public CopySource()Creates an instance of CopySource class.
-
-
Method Details
-
sourceRetryCount
Get the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).- Returns:
- the sourceRetryCount value.
-
withSourceRetryCount
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).- Parameters:
sourceRetryCount- the sourceRetryCount value to set.- Returns:
- the CopySource object itself.
-
sourceRetryWait
Get the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).- Returns:
- the sourceRetryWait value.
-
withSourceRetryWait
Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).- Parameters:
sourceRetryWait- the sourceRetryWait value to set.- Returns:
- the CopySource object itself.
-
maxConcurrentConnections
Get the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).- Returns:
- the maxConcurrentConnections value.
-
withMaxConcurrentConnections
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).- Parameters:
maxConcurrentConnections- the maxConcurrentConnections value to set.- Returns:
- the CopySource object itself.
-
disableMetricsCollection
Get the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).- Returns:
- the disableMetricsCollection value.
-
withDisableMetricsCollection
Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).- Parameters:
disableMetricsCollection- the disableMetricsCollection value to set.- Returns:
- the CopySource object itself.
-
additionalProperties
Get the additionalProperties property: A copy activity source.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: A copy activity source.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the CopySource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-