Interface StartFileTransferRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartFileTransferRequest.Builder,,StartFileTransferRequest> SdkBuilder<StartFileTransferRequest.Builder,,StartFileTransferRequest> SdkPojo,SdkRequest.Builder,TransferRequest.Builder
- Enclosing class:
StartFileTransferRequest
-
Method Summary
Modifier and TypeMethodDescriptionconnectorId(String connectorId) The unique identifier for the connector.localDirectoryPath(String localDirectoryPath) For an inbound transfer, theLocaDirectoryPathspecifies the destination for one or more files that are transferred from the partner's SFTP server.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.remoteDirectoryPath(String remoteDirectoryPath) For an outbound transfer, theRemoteDirectoryPathspecifies the destination for one or more files that are transferred to the partner's SFTP server.retrieveFilePaths(String... retrieveFilePaths) One or more source paths for the partner's SFTP server.retrieveFilePaths(Collection<String> retrieveFilePaths) One or more source paths for the partner's SFTP server.sendFilePaths(String... sendFilePaths) One or more source paths for the Amazon S3 storage.sendFilePaths(Collection<String> sendFilePaths) One or more source paths for the Amazon S3 storage.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferRequest.Builder
build
-
Method Details
-
connectorId
The unique identifier for the connector.
- Parameters:
connectorId- The unique identifier for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sendFilePaths
One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example,
amzn-s3-demo-bucket/myfile.txt.Replace
amzn-s3-demo-bucketwith one of your actual buckets.- Parameters:
sendFilePaths- One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example,amzn-s3-demo-bucket/myfile.txt.Replace
amzn-s3-demo-bucketwith one of your actual buckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sendFilePaths
One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example,
amzn-s3-demo-bucket/myfile.txt.Replace
amzn-s3-demo-bucketwith one of your actual buckets.- Parameters:
sendFilePaths- One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example,amzn-s3-demo-bucket/myfile.txt.Replace
amzn-s3-demo-bucketwith one of your actual buckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieveFilePaths
One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
- Parameters:
retrieveFilePaths- One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieveFilePaths
One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
- Parameters:
retrieveFilePaths- One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localDirectoryPath
For an inbound transfer, the
LocaDirectoryPathspecifies the destination for one or more files that are transferred from the partner's SFTP server.- Parameters:
localDirectoryPath- For an inbound transfer, theLocaDirectoryPathspecifies the destination for one or more files that are transferred from the partner's SFTP server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteDirectoryPath
For an outbound transfer, the
RemoteDirectoryPathspecifies the destination for one or more files that are transferred to the partner's SFTP server. If you don't specify aRemoteDirectoryPath, the destination for transferred files is the SFTP user's home directory.- Parameters:
remoteDirectoryPath- For an outbound transfer, theRemoteDirectoryPathspecifies the destination for one or more files that are transferred to the partner's SFTP server. If you don't specify aRemoteDirectoryPath, the destination for transferred files is the SFTP user's home directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartFileTransferRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartFileTransferRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-