public abstract class ListObjectOptions extends Object
GoogleCloudStorage.| Modifier and Type | Class and Description |
|---|---|
static class |
ListObjectOptions.Builder
Builder for
ListObjectOptions |
| Modifier and Type | Field and Description |
|---|---|
static ListObjectOptions |
DEFAULT
List all objects in the directory.
|
static ListObjectOptions |
DEFAULT_FLAT_LIST
List all objects with the prefix.
|
| Constructor and Description |
|---|
ListObjectOptions() |
| Modifier and Type | Method and Description |
|---|---|
static ListObjectOptions.Builder |
builder() |
abstract String |
getDelimiter()
Delimiter to use (typically
/), otherwise null. |
abstract String |
getFields()
Comma separated list of object fields to include in the list response.
|
abstract long |
getMaxResults()
Maximum number of results to return, unlimited if negative or zero.
|
abstract boolean |
isIncludePrefix()
Whether to include prefix object in the result.
|
abstract ListObjectOptions.Builder |
toBuilder() |
public static final ListObjectOptions DEFAULT
public static final ListObjectOptions DEFAULT_FLAT_LIST
public static ListObjectOptions.Builder builder()
public abstract ListObjectOptions.Builder toBuilder()
@Nullable public abstract String getDelimiter()
/), otherwise null.public abstract boolean isIncludePrefix()
public abstract long getMaxResults()
@Nullable public abstract String getFields()
See object resource for reference.
Copyright © 2022. All rights reserved.