public class ListByMarkerResponse<T> extends AbstractBceResponse
metadata| Constructor and Description |
|---|
ListByMarkerResponse() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ListByMarkerResponse<T> |
empty() |
Collection<T> |
getData() |
String |
getMarker() |
String |
getNextMarker() |
boolean |
isTruncated() |
static <T> ListByMarkerResponse<T> |
of(boolean isTruncated,
String marker,
String nextMarker,
Collection<T> data) |
static <T> ListByMarkerResponse<T> |
of(Collection<T> data) |
static <T> ListByMarkerResponse<T> |
of(ListByMarkerResponse<?> response,
Collection<T> data) |
void |
setData(Collection<T> data) |
void |
setMarker(String marker) |
void |
setNextMarker(String nextMarker) |
void |
setTruncated(boolean truncated) |
getMetadatapublic static <T> ListByMarkerResponse<T> of(ListByMarkerResponse<?> response, Collection<T> data)
public static <T> ListByMarkerResponse<T> of(boolean isTruncated, String marker, String nextMarker, Collection<T> data)
public static <T> ListByMarkerResponse<T> of(Collection<T> data)
public static <T> ListByMarkerResponse<T> empty()
public Collection<T> getData()
public void setData(Collection<T> data)
public boolean isTruncated()
public void setTruncated(boolean truncated)
public String getMarker()
public void setMarker(String marker)
public String getNextMarker()
public void setNextMarker(String nextMarker)
Copyright © 2024. All rights reserved.