public static interface ListObjectsRequest.Builder extends S3Request.Builder, CopyableBuilder<ListObjectsRequest.Builder,ListObjectsRequest>
Modifier and Type | Method and Description |
---|---|
ListObjectsRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
ListObjectsRequest.Builder |
delimiter(String delimiter)
A delimiter is a character you use to group keys.
|
ListObjectsRequest.Builder |
encodingType(EncodingType encodingType)
Sets the value of the EncodingType property for this object.
|
ListObjectsRequest.Builder |
encodingType(String encodingType)
Sets the value of the EncodingType property for this object.
|
ListObjectsRequest.Builder |
marker(String marker)
Specifies the key to start with when listing objects in a bucket.
|
ListObjectsRequest.Builder |
maxKeys(Integer maxKeys)
Sets the maximum number of keys returned in the response.
|
ListObjectsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListObjectsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ListObjectsRequest.Builder |
prefix(String prefix)
Limits the response to keys that begin with the specified prefix.
|
ListObjectsRequest.Builder |
requestPayer(RequestPayer requestPayer)
Confirms that the requester knows that she or he will be charged for the list objects request.
|
ListObjectsRequest.Builder |
requestPayer(String requestPayer)
Confirms that the requester knows that she or he will be charged for the list objects request.
|
build
overrideConfiguration
copy
applyMutation, build
ListObjectsRequest.Builder bucket(String bucket)
bucket
- The new value for the Bucket property for this object.ListObjectsRequest.Builder delimiter(String delimiter)
delimiter
- A delimiter is a character you use to group keys.ListObjectsRequest.Builder encodingType(String encodingType)
encodingType
- The new value for the EncodingType property for this object.EncodingType
,
EncodingType
ListObjectsRequest.Builder encodingType(EncodingType encodingType)
encodingType
- The new value for the EncodingType property for this object.EncodingType
,
EncodingType
ListObjectsRequest.Builder marker(String marker)
marker
- Specifies the key to start with when listing objects in a bucket.ListObjectsRequest.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.ListObjectsRequest.Builder prefix(String prefix)
prefix
- Limits the response to keys that begin with the specified prefix.ListObjectsRequest.Builder requestPayer(String requestPayer)
requestPayer
- Confirms that the requester knows that she or he will be charged for the list objects request. Bucket
owners need not specify this parameter in their requests.RequestPayer
,
RequestPayer
ListObjectsRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- Confirms that the requester knows that she or he will be charged for the list objects request. Bucket
owners need not specify this parameter in their requests.RequestPayer
,
RequestPayer
ListObjectsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListObjectsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.