public static interface ListObjectsV2Request.Builder extends S3Request.Builder, SdkPojo, 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListObjectsV2Request.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListObjectsV2Request.Builder |
prefix(String prefix)
Limits the response to keys that begin with the specified prefix.
|
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
overrideConfiguration
copy
applyMutation, build
ListObjectsV2Request.Builder bucket(String bucket)
Name of the bucket to list.
bucket
- Name of the bucket to list.ListObjectsV2Request.Builder delimiter(String delimiter)
A delimiter is a character you use to group keys.
delimiter
- A delimiter is a character you use to group keys.ListObjectsV2Request.Builder encodingType(String encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
,
EncodingType
ListObjectsV2Request.Builder encodingType(EncodingType encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
,
EncodingType
ListObjectsV2Request.Builder maxKeys(Integer maxKeys)
Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.
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)
Limits the response to keys that begin with the specified prefix.
prefix
- Limits the response to keys that begin with the specified prefix.ListObjectsV2Request.Builder continuationToken(String 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 key
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)
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
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 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 bucket
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)
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
- 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)
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
- 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ListObjectsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.