Interface StartFileTransferRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartFileTransferRequest.Builder,StartFileTransferRequest>,SdkBuilder<StartFileTransferRequest.Builder,StartFileTransferRequest>,SdkPojo,SdkRequest.Builder,TransferRequest.Builder
- Enclosing class:
- StartFileTransferRequest
public static interface StartFileTransferRequest.Builder extends TransferRequest.Builder, SdkPojo, CopyableBuilder<StartFileTransferRequest.Builder,StartFileTransferRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartFileTransferRequest.BuilderconnectorId(String connectorId)The unique identifier for the connector.StartFileTransferRequest.BuilderlocalDirectoryPath(String localDirectoryPath)For an inbound transfer, theLocaDirectoryPathspecifies the destination for one or more files that are transferred from the partner's SFTP server.StartFileTransferRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartFileTransferRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartFileTransferRequest.BuilderremoteDirectoryPath(String remoteDirectoryPath)For an outbound transfer, theRemoteDirectoryPathspecifies the destination for one or more files that are transferred to the partner's SFTP server.StartFileTransferRequest.BuilderretrieveFilePaths(String... retrieveFilePaths)One or more source paths for the partner's SFTP server.StartFileTransferRequest.BuilderretrieveFilePaths(Collection<String> retrieveFilePaths)One or more source paths for the partner's SFTP server.StartFileTransferRequest.BuildersendFilePaths(String... sendFilePaths)One or more source paths for the Amazon S3 storage.StartFileTransferRequest.BuildersendFilePaths(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 Detail
-
connectorId
StartFileTransferRequest.Builder connectorId(String 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
StartFileTransferRequest.Builder sendFilePaths(Collection<String> 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
StartFileTransferRequest.Builder sendFilePaths(String... 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
StartFileTransferRequest.Builder retrieveFilePaths(Collection<String> 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
StartFileTransferRequest.Builder retrieveFilePaths(String... 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
StartFileTransferRequest.Builder localDirectoryPath(String 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
StartFileTransferRequest.Builder remoteDirectoryPath(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartFileTransferRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-