Class AmazonS3ReadSettings
java.lang.Object
com.azure.resourcemanager.datafactory.models.StoreReadSettings
com.azure.resourcemanager.datafactory.models.AmazonS3ReadSettings
Amazon S3 read settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion.Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.Get the fileListPath property: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy.Get the modifiedDatetimeEnd property: The end of file's modified datetime.Get the modifiedDatetimeStart property: The start of file's modified datetime.Get the partitionRootPath property: Specify the root path where partition discovery starts from.prefix()Get the prefix property: The prefix filter for the S3 object name.Get the recursive property: If true, files under the folder path will be read recursively.voidvalidate()Validates the instance.Get the wildcardFileName property: AmazonS3 wildcardFileName.Get the wildcardFolderPath property: AmazonS3 wildcardFolderPath.withDeleteFilesAfterCompletion(Object deleteFilesAfterCompletion) Set the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion.withDisableMetricsCollection(Object disableMetricsCollection) Set the disableMetricsCollection property: If true, disable data store metrics collection.withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.withFileListPath(Object fileListPath) Set the fileListPath property: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy.withMaxConcurrentConnections(Object maxConcurrentConnections) Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.withModifiedDatetimeEnd(Object modifiedDatetimeEnd) Set the modifiedDatetimeEnd property: The end of file's modified datetime.withModifiedDatetimeStart(Object modifiedDatetimeStart) Set the modifiedDatetimeStart property: The start of file's modified datetime.withPartitionRootPath(Object partitionRootPath) Set the partitionRootPath property: Specify the root path where partition discovery starts from.withPrefix(Object prefix) Set the prefix property: The prefix filter for the S3 object name.withRecursive(Object recursive) Set the recursive property: If true, files under the folder path will be read recursively.withWildcardFileName(Object wildcardFileName) Set the wildcardFileName property: AmazonS3 wildcardFileName.withWildcardFolderPath(Object wildcardFolderPath) Set the wildcardFolderPath property: AmazonS3 wildcardFolderPath.Methods inherited from class com.azure.resourcemanager.datafactory.models.StoreReadSettings
additionalProperties, disableMetricsCollection, maxConcurrentConnections, withAdditionalProperties
-
Constructor Details
-
AmazonS3ReadSettings
public AmazonS3ReadSettings()Creates an instance of AmazonS3ReadSettings class.
-
-
Method Details
-
recursive
Get the recursive property: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).- Returns:
- the recursive value.
-
withRecursive
Set the recursive property: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).- Parameters:
recursive- the recursive value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
wildcardFolderPath
Get the wildcardFolderPath property: AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string).- Returns:
- the wildcardFolderPath value.
-
withWildcardFolderPath
Set the wildcardFolderPath property: AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string).- Parameters:
wildcardFolderPath- the wildcardFolderPath value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
wildcardFileName
Get the wildcardFileName property: AmazonS3 wildcardFileName. Type: string (or Expression with resultType string).- Returns:
- the wildcardFileName value.
-
withWildcardFileName
Set the wildcardFileName property: AmazonS3 wildcardFileName. Type: string (or Expression with resultType string).- Parameters:
wildcardFileName- the wildcardFileName value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
prefix
Get the prefix property: The prefix filter for the S3 object name. Type: string (or Expression with resultType string).- Returns:
- the prefix value.
-
withPrefix
Set the prefix property: The prefix filter for the S3 object name. Type: string (or Expression with resultType string).- Parameters:
prefix- the prefix value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
fileListPath
Get the fileListPath property: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).- Returns:
- the fileListPath value.
-
withFileListPath
Set the fileListPath property: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).- Parameters:
fileListPath- the fileListPath value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
enablePartitionDiscovery
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Returns:
- the enablePartitionDiscovery value.
-
withEnablePartitionDiscovery
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Parameters:
enablePartitionDiscovery- the enablePartitionDiscovery value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
partitionRootPath
Get the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).- Returns:
- the partitionRootPath value.
-
withPartitionRootPath
Set the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).- Parameters:
partitionRootPath- the partitionRootPath value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
deleteFilesAfterCompletion
Get the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean).- Returns:
- the deleteFilesAfterCompletion value.
-
withDeleteFilesAfterCompletion
Set the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean).- Parameters:
deleteFilesAfterCompletion- the deleteFilesAfterCompletion value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
modifiedDatetimeStart
Get the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with resultType string).- Returns:
- the modifiedDatetimeStart value.
-
withModifiedDatetimeStart
Set the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with resultType string).- Parameters:
modifiedDatetimeStart- the modifiedDatetimeStart value to set.- Returns:
- the AmazonS3ReadSettings object itself.
-
modifiedDatetimeEnd
Get the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with resultType string).- Returns:
- the modifiedDatetimeEnd value.
-
withModifiedDatetimeEnd
Set the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with resultType string).- Parameters:
modifiedDatetimeEnd- the modifiedDatetimeEnd value to set.- Returns:
- the AmazonS3ReadSettings 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:
withMaxConcurrentConnectionsin classStoreReadSettings- Parameters:
maxConcurrentConnections- the maxConcurrentConnections value to set.- Returns:
- the StoreReadSettings 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:
withDisableMetricsCollectionin classStoreReadSettings- Parameters:
disableMetricsCollection- the disableMetricsCollection value to set.- Returns:
- the StoreReadSettings object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classStoreReadSettings- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-