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 theTransferId
andConnectorId
specified.fileTransferResults
(Consumer<ConnectorFileTransferResult.Builder>... fileTransferResults) Returns the details for the files transferred in the transfer identified by theTransferId
andConnectorId
specified.fileTransferResults
(ConnectorFileTransferResult... fileTransferResults) Returns the details for the files transferred in the transfer identified by theTransferId
andConnectorId
specified.Returns a token that you can use to callListFileTransferResults
again and receive additional results, if there are any (against the sameTransferId
.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods 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
TransferId
andConnectorId
specified.-
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 theTransferId
andConnectorId
specified.-
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
TransferId
andConnectorId
specified.-
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 theTransferId
andConnectorId
specified.-
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
TransferId
andConnectorId
specified.-
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.Builder
avoiding the need to create one manually viaConnectorFileTransferResult.builder()
.When the
Consumer
completes,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
ListFileTransferResults
again and receive additional results, if there are any (against the sameTransferId
.- Parameters:
nextToken
- Returns a token that you can use to callListFileTransferResults
again 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.
-