Class SftpWriteSettings
java.lang.Object
com.azure.resourcemanager.datafactory.models.StoreWriteSettings
com.azure.resourcemanager.datafactory.models.SftpWriteSettings
Sftp write settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the operationTimeout property: Specifies the timeout for writing each chunk to SFTP server.Get the useTempFileRename property: Upload to temporary file(s) and rename.void
validate()
Validates the instance.withCopyBehavior
(Object copyBehavior) Set the copyBehavior property: The type of copy behavior for copy sink.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.withOperationTimeout
(Object operationTimeout) Set the operationTimeout property: Specifies the timeout for writing each chunk to SFTP server.withUseTempFileRename
(Object useTempFileRename) Set the useTempFileRename property: Upload to temporary file(s) and rename.Methods inherited from class com.azure.resourcemanager.datafactory.models.StoreWriteSettings
additionalProperties, copyBehavior, disableMetricsCollection, maxConcurrentConnections, withAdditionalProperties
-
Constructor Details
-
SftpWriteSettings
public SftpWriteSettings()Creates an instance of SftpWriteSettings class.
-
-
Method Details
-
operationTimeout
Get the operationTimeout property: Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string).- Returns:
- the operationTimeout value.
-
withOperationTimeout
Set the operationTimeout property: Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string).- Parameters:
operationTimeout
- the operationTimeout value to set.- Returns:
- the SftpWriteSettings object itself.
-
useTempFileRename
Get the useTempFileRename property: Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't support rename operation. Type: boolean (or Expression with resultType boolean).- Returns:
- the useTempFileRename value.
-
withUseTempFileRename
Set the useTempFileRename property: Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't support rename operation. Type: boolean (or Expression with resultType boolean).- Parameters:
useTempFileRename
- the useTempFileRename value to set.- Returns:
- the SftpWriteSettings object itself.
-
withMaxConcurrentConnections
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).- Overrides:
withMaxConcurrentConnections
in classStoreWriteSettings
- Parameters:
maxConcurrentConnections
- the maxConcurrentConnections value to set.- Returns:
- the StoreWriteSettings object itself.
-
withDisableMetricsCollection
Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).- Overrides:
withDisableMetricsCollection
in classStoreWriteSettings
- Parameters:
disableMetricsCollection
- the disableMetricsCollection value to set.- Returns:
- the StoreWriteSettings object itself.
-
withCopyBehavior
Set the copyBehavior property: The type of copy behavior for copy sink.- Overrides:
withCopyBehavior
in classStoreWriteSettings
- Parameters:
copyBehavior
- the copyBehavior value to set.- Returns:
- the StoreWriteSettings object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classStoreWriteSettings
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-