Class ListFileTransferResultsResponse

    • Method Detail

      • hasFileTransferResults

        public final boolean hasFileTransferResults()
        For responses, this returns true if the service returned a value for the FileTransferResults property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • fileTransferResults

        public final List<ConnectorFileTransferResult> fileTransferResults()

        Returns the details for the files transferred in the transfer identified by the TransferId and ConnectorId 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, or FAILED

        • 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.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasFileTransferResults() method.

        Returns:
        Returns the details for the files transferred in the transfer identified by the TransferId and ConnectorId 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, or FAILED

        • 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.

      • nextToken

        public final String nextToken()

        Returns a token that you can use to call ListFileTransferResults again and receive additional results, if there are any (against the same TransferId.

        Returns:
        Returns a token that you can use to call ListFileTransferResults again and receive additional results, if there are any (against the same TransferId.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object