Interface ListFileTransferResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFileTransferResultsResponse.Builder,,ListFileTransferResultsResponse> SdkBuilder<ListFileTransferResultsResponse.Builder,,ListFileTransferResultsResponse> SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
ListFileTransferResultsResponse
-
Method Summary
Modifier and TypeMethodDescriptionfileTransferResults(Collection<ConnectorFileTransferResult> fileTransferResults) Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.fileTransferResults(Consumer<ConnectorFileTransferResult.Builder>... fileTransferResults) Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.fileTransferResults(ConnectorFileTransferResult... fileTransferResults) Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.Returns a token that you can use to callListFileTransferResultsagain and receive additional results, if there are any (against the sameTransferId.Methods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
fileTransferResults
ListFileTransferResultsResponse.Builder fileTransferResults(Collection<ConnectorFileTransferResult> fileTransferResults) Returns the details for the files transferred in the transfer identified by the
TransferIdandConnectorIdspecified.-
FilePath: the filename and path to where the file was sent to or retrieved from. -
StatusCode: current status for the transfer. The status returned is one of the following values:QUEUED,IN_PROGRESS,COMPLETED, orFAILED -
FailureCode: for transfers that fail, this parameter contains a code indicating the reason. For example,RETRIEVE_FILE_NOT_FOUND -
FailureMessage: for transfers that fail, this parameter describes the reason for the failure.
- Parameters:
fileTransferResults- Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.-
FilePath: the filename and path to where the file was sent to or retrieved from. -
StatusCode: current status for the transfer. The status returned is one of the following values:QUEUED,IN_PROGRESS,COMPLETED, orFAILED -
FailureCode: for transfers that fail, this parameter contains a code indicating the reason. For example,RETRIEVE_FILE_NOT_FOUND -
FailureMessage: for transfers that fail, this parameter describes the reason for the failure.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
fileTransferResults
ListFileTransferResultsResponse.Builder fileTransferResults(ConnectorFileTransferResult... fileTransferResults) Returns the details for the files transferred in the transfer identified by the
TransferIdandConnectorIdspecified.-
FilePath: the filename and path to where the file was sent to or retrieved from. -
StatusCode: current status for the transfer. The status returned is one of the following values:QUEUED,IN_PROGRESS,COMPLETED, orFAILED -
FailureCode: for transfers that fail, this parameter contains a code indicating the reason. For example,RETRIEVE_FILE_NOT_FOUND -
FailureMessage: for transfers that fail, this parameter describes the reason for the failure.
- Parameters:
fileTransferResults- Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.-
FilePath: the filename and path to where the file was sent to or retrieved from. -
StatusCode: current status for the transfer. The status returned is one of the following values:QUEUED,IN_PROGRESS,COMPLETED, orFAILED -
FailureCode: for transfers that fail, this parameter contains a code indicating the reason. For example,RETRIEVE_FILE_NOT_FOUND -
FailureMessage: for transfers that fail, this parameter describes the reason for the failure.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
fileTransferResults
ListFileTransferResultsResponse.Builder fileTransferResults(Consumer<ConnectorFileTransferResult.Builder>... fileTransferResults) Returns the details for the files transferred in the transfer identified by the
TransferIdandConnectorIdspecified.-
FilePath: the filename and path to where the file was sent to or retrieved from. -
StatusCode: current status for the transfer. The status returned is one of the following values:QUEUED,IN_PROGRESS,COMPLETED, orFAILED -
FailureCode: for transfers that fail, this parameter contains a code indicating the reason. For example,RETRIEVE_FILE_NOT_FOUND -
FailureMessage: for transfers that fail, this parameter describes the reason for the failure.
ConnectorFileTransferResult.Builderavoiding the need to create one manually viaConnectorFileTransferResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileTransferResults(List<ConnectorFileTransferResult>).- Parameters:
fileTransferResults- a consumer that will call methods onConnectorFileTransferResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
nextToken
Returns a token that you can use to call
ListFileTransferResultsagain and receive additional results, if there are any (against the sameTransferId.- Parameters:
nextToken- Returns a token that you can use to callListFileTransferResultsagain and receive additional results, if there are any (against the sameTransferId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-