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, theLocaDirectoryPath
specifies 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, theRemoteDirectoryPath
specifies 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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-bucket
with 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-bucket
with 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-bucket
with 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-bucket
with 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
LocaDirectoryPath
specifies the destination for one or more files that are transferred from the partner's SFTP server.- Parameters:
localDirectoryPath
- For an inbound transfer, theLocaDirectoryPath
specifies 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
RemoteDirectoryPath
specifies 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, theRemoteDirectoryPath
specifies 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-