public class ListBucketsExtendedRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
ListBucketsExtendedRequest()
Constructs a new
ListBucketsExtendedRequest object |
ListBucketsExtendedRequest(String prefix,
String marker,
Integer maxKeys)
Constructs a new
ListBucketsExtendedRequest object and
initializes all required and optional object fields. |
Modifier and Type | Method and Description |
---|---|
String |
getMarker()
Gets the optional marker parameter indicating where in the bucket to begin
listing.
|
Integer |
getMaxKeys()
Gets the optional
maxKeys parameter indicating the maximum number of keys to
include in the response. |
String |
getPrefix()
Gets the optional prefix parameter and restricts the response to keys
that begin with the specified prefix.
|
void |
setMarker(String marker)
Sets the optional marker parameter indicating where to begin
listing.
|
void |
setMaxKeys(Integer maxKeys)
Sets the optional
maxKeys parameter indicating the maximum number of keys to
include in the response. |
void |
setPrefix(String prefix)
Sets the optional prefix parameter, restricting the response to keys that
begin with the specified prefix.
|
ListBucketsExtendedRequest |
withMarker(String marker)
Sets the optional marker parameter indicating where to begin
listing.
|
ListBucketsExtendedRequest |
withMaxKeys(Integer maxKeys)
Sets the optional
maxKeys parameter indicating the maximum number of keys to
include in the response. |
ListBucketsExtendedRequest |
withPrefix(String prefix)
Sets the optional prefix parameter restricting the response to keys that
begin with the specified prefix.
|
addHandlerContext, clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ListBucketsExtendedRequest(String prefix, String marker, Integer maxKeys)
ListBucketsExtendedRequest
object and
initializes all required and optional object fields.prefix
- The prefix restricting what keys will be listed.marker
- The key marker indicating where listing results should begin.maxKeys
- The maximum number of results to return.ListBucketsExtendedRequest()
public ListBucketsExtendedRequest()
ListBucketsExtendedRequest
objectListObjectsRequest()
public Integer getMaxKeys()
maxKeys
parameter indicating the maximum number of keys to
include in the response. COS S3 might return fewer keys than specified, but will
never return more.public void setMaxKeys(Integer maxKeys)
maxKeys
parameter indicating the maximum number of keys to
include in the response.maxKeys
- The optional parameter indicating the maximum number of keys
to include in the response.public ListBucketsExtendedRequest withMaxKeys(Integer maxKeys)
maxKeys
parameter indicating the maximum number of keys to
include in the response.
Returns this ListBucketsExtendedRequest
, enabling additional method
calls to be chained together.maxKeys
- The optional parameter indicating the maximum number of keys
to include in the response.ListBucketsExtendedRequest
, enabling additional method
calls to be chained together.ListBucketsExtendedRequest.getMaxKeys()
,
ListBucketsExtendedRequest.setMaxKeys(Integer)
public String getPrefix()
ListBucketsExtendedRequest.setPrefix(String)
public void setPrefix(String prefix)
prefix
- The optional prefix parameter, restricting the response to keys
that begin with the specified prefix.ListBucketsExtendedRequest.getPrefix()
public ListBucketsExtendedRequest withPrefix(String prefix)
ListBucketsExtendedRequest
, enabling additional method
calls to be chained together.prefix
- The optional prefix parameter restricting the response to keys
that begin with the specified prefix.ListBucketsExtendedRequest
, enabling additional method
calls to be chained together.ListBucketsExtendedRequest.getPrefix()
,
ListBucketsExtendedRequest.setPrefix(String)
public String getMarker()
ListBucketsExtendedRequest.setMarker(String)
,
ListBucketsExtendedRequest.withMarker(String)
public void setMarker(String marker)
marker
- The optional marker parameter indicating where in the bucket to begin
listing. The list will only include keys that occur
lexicographically after the marker.ListBucketsExtendedRequest.getMarker()
,
ListBucketsExtendedRequest.withMarker(String)
public ListBucketsExtendedRequest withMarker(String marker)
ListBucketsExtendedRequest
, enabling additional method
calls to be chained together.
The list will only include keys that occur lexicographically
after the marker.marker
- The optional parameter indicating where in the bucket to begin
listing. The list will only include keys that occur
lexicographically after the marker.ListBucketsExtendedRequest
, enabling additional method
calls to be chained together.ListBucketsExtendedRequest.getMarker()
,
ListBucketsExtendedRequest.setMarker(String)
Copyright © 2024. All rights reserved.