public static interface ListObjectsV2Request.Builder extends S3Request.Builder, CopyableBuilder<ListObjectsV2Request.Builder,ListObjectsV2Request>
Modifier and Type | Method and Description |
---|---|
ListObjectsV2Request.Builder |
bucket(String bucket)
Name of the bucket to list.
|
ListObjectsV2Request.Builder |
continuationToken(String continuationToken)
ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a token.
|
ListObjectsV2Request.Builder |
delimiter(String delimiter)
A delimiter is a character you use to group keys.
|
ListObjectsV2Request.Builder |
encodingType(EncodingType encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
|
ListObjectsV2Request.Builder |
encodingType(String encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
|
ListObjectsV2Request.Builder |
fetchOwner(Boolean fetchOwner)
The owner field is not present in listV2 by default, if you want to return owner field with each key in the
result then set the fetch owner field to true
|
ListObjectsV2Request.Builder |
maxKeys(Integer maxKeys)
Sets the maximum number of keys returned in the response.
|
ListObjectsV2Request.Builder |
prefix(String prefix)
Limits the response to keys that begin with the specified prefix.
|
ListObjectsV2Request.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ListObjectsV2Request.Builder |
requestPayer(RequestPayer requestPayer)
Confirms that the requester knows that she or he will be charged for the list objects request in V2 style.
|
ListObjectsV2Request.Builder |
requestPayer(String requestPayer)
Confirms that the requester knows that she or he will be charged for the list objects request in V2 style.
|
ListObjectsV2Request.Builder |
startAfter(String startAfter)
StartAfter is where you want Amazon S3 to start listing from.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
ListObjectsV2Request.Builder bucket(String bucket)
bucket
- Name of the bucket to list.ListObjectsV2Request.Builder delimiter(String delimiter)
delimiter
- A delimiter is a character you use to group keys.ListObjectsV2Request.Builder encodingType(String encodingType)
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
,
EncodingType
ListObjectsV2Request.Builder encodingType(EncodingType encodingType)
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
,
EncodingType
ListObjectsV2Request.Builder maxKeys(Integer maxKeys)
maxKeys
- Sets the maximum number of keys returned in the response. The response might contain fewer keys but
will never contain more.ListObjectsV2Request.Builder prefix(String prefix)
prefix
- Limits the response to keys that begin with the specified prefix.ListObjectsV2Request.Builder continuationToken(String continuationToken)
continuationToken
- ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a token.
ContinuationToken is obfuscated and is not a real keyListObjectsV2Request.Builder fetchOwner(Boolean fetchOwner)
fetchOwner
- The owner field is not present in listV2 by default, if you want to return owner field with each key
in the result then set the fetch owner field to trueListObjectsV2Request.Builder startAfter(String startAfter)
startAfter
- StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this
specified key. StartAfter can be any key in the bucketListObjectsV2Request.Builder requestPayer(String requestPayer)
requestPayer
- Confirms that the requester knows that she or he will be charged for the list objects request in V2
style. Bucket owners need not specify this parameter in their requests.RequestPayer
,
RequestPayer
ListObjectsV2Request.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- Confirms that the requester knows that she or he will be charged for the list objects request in V2
style. Bucket owners need not specify this parameter in their requests.RequestPayer
,
RequestPayer
ListObjectsV2Request.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.