Interface ListFileTransferResultsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFileTransferResultsResponse.Builder,ListFileTransferResultsResponse>,SdkBuilder<ListFileTransferResultsResponse.Builder,ListFileTransferResultsResponse>,SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
- ListFileTransferResultsResponse
public static interface ListFileTransferResultsResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListFileTransferResultsResponse.Builder,ListFileTransferResultsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFileTransferResultsResponse.BuilderfileTransferResults(Collection<ConnectorFileTransferResult> fileTransferResults)Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.ListFileTransferResultsResponse.BuilderfileTransferResults(Consumer<ConnectorFileTransferResult.Builder>... fileTransferResults)Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.ListFileTransferResultsResponse.BuilderfileTransferResults(ConnectorFileTransferResult... fileTransferResults)Returns the details for the files transferred in the transfer identified by theTransferIdandConnectorIdspecified.ListFileTransferResultsResponse.BuildernextToken(String nextToken)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
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
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 to#fileTransferResults(List.) - 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:
#fileTransferResults(java.util.Collection)
-
-
nextToken
ListFileTransferResultsResponse.Builder nextToken(String 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.
-
-