public class GetObjectsFullDetailsPaginatingCommand extends java.lang.Object implements PaginatingCommand<DetailedS3Object,GetObjectsWithFullDetailsSpectraS3Request,GetObjectsWithFullDetailsSpectraS3Response>
Constructor and Description |
---|
GetObjectsFullDetailsPaginatingCommand(Ds3Client client,
java.lang.String bucket,
java.lang.String folder,
boolean includePhysicalDetails) |
Modifier and Type | Method and Description |
---|---|
GetObjectsWithFullDetailsSpectraS3Request |
createRequest()
Creates an initial request.
|
java.util.List<DetailedS3Object> |
getResponseContents(GetObjectsWithFullDetailsSpectraS3Response response)
Parses the response into the correct payload to be consumed by the iterator
|
GetObjectsWithFullDetailsSpectraS3Response |
invokeCommand(GetObjectsWithFullDetailsSpectraS3Request paginationRequest)
Invokes the request and returns the response
|
public GetObjectsFullDetailsPaginatingCommand(Ds3Client client, java.lang.String bucket, java.lang.String folder, boolean includePhysicalDetails)
public GetObjectsWithFullDetailsSpectraS3Request createRequest()
PaginatingCommand
public GetObjectsWithFullDetailsSpectraS3Response invokeCommand(GetObjectsWithFullDetailsSpectraS3Request paginationRequest) throws java.io.IOException
PaginatingCommand
invokeCommand
in interface PaginatingCommand<DetailedS3Object,GetObjectsWithFullDetailsSpectraS3Request,GetObjectsWithFullDetailsSpectraS3Response>
java.io.IOException
public java.util.List<DetailedS3Object> getResponseContents(GetObjectsWithFullDetailsSpectraS3Response response)
PaginatingCommand