public class ObjectListPagingProvider extends Object implements org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,S3ObjectSummary>
| Constructor and Description |
|---|
ObjectListPagingProvider(com.amazonaws.services.s3.model.ListObjectsRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(S3Connection connection) |
List<S3ObjectSummary> |
getPage(S3Connection connection) |
Optional<Integer> |
getTotalResults(S3Connection connection) |
public ObjectListPagingProvider(com.amazonaws.services.s3.model.ListObjectsRequest request)
public List<S3ObjectSummary> getPage(S3Connection connection)
getPage in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,S3ObjectSummary>public Optional<Integer> getTotalResults(S3Connection connection)
getTotalResults in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,S3ObjectSummary>public void close(S3Connection connection) throws org.mule.runtime.api.exception.MuleException
close in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,S3ObjectSummary>org.mule.runtime.api.exception.MuleExceptionCopyright © 2021 MuleSoft, Inc.. All rights reserved.