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
public class CopySource extends Object
A copy activity source.
-
-
Constructor Summary
Constructors Constructor Description CopySource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: A copy activity source.Object
disableMetricsCollection()
Get the disableMetricsCollection property: If true, disable data store metrics collection.Object
maxConcurrentConnections()
Get the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.Object
sourceRetryCount()
Get the sourceRetryCount property: Source retry count.Object
sourceRetryWait()
Get the sourceRetryWait property: Source retry wait.void
validate()
Validates the instance.CopySource
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: A copy activity source.CopySource
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.CopySource
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.CopySource
withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count.CopySource
withSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait.
-
-
-
Method Detail
-
sourceRetryCount
public Object sourceRetryCount()
Get the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).- Returns:
- the sourceRetryCount value.
-
withSourceRetryCount
public CopySource withSourceRetryCount(Object sourceRetryCount)
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
public Object 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
public CopySource withSourceRetryWait(Object sourceRetryWait)
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
public Object 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
public CopySource withMaxConcurrentConnections(Object maxConcurrentConnections)
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
public Object 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
public CopySource withDisableMetricsCollection(Object disableMetricsCollection)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: A copy activity source.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public CopySource withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-