Class ListObjectsResponse

java.lang.Object
io.micronaut.objectstorage.response.ListObjectsResponse

public final class ListObjectsResponse extends Object
Paginated object listing response.
Since:
3.0.0
  • Constructor Details

    • ListObjectsResponse

      public ListObjectsResponse(@NonNull List<String> keys)
      Parameters:
      keys - the ordered keys in the current page
    • ListObjectsResponse

      public ListObjectsResponse(@NonNull List<String> keys, @Nullable String continuationToken)
      Parameters:
      keys - the ordered keys in the current page
      continuationToken - the opaque continuation token for the next page
  • Method Details

    • getKeys

      public @NonNull List<String> getKeys()
      Returns:
      the ordered keys in the current page
    • getContinuationToken

      public @NonNull Optional<String> getContinuationToken()
      Returns:
      the opaque continuation token for the next page, if present