public class ListBucketsRequest extends WebServiceRequest
限定符和类型 | 字段和说明 |
---|---|
static int |
MAX_RETURNED_KEYS |
NOOP
构造器和说明 |
---|
ListBucketsRequest()
Constructor.
|
ListBucketsRequest(String prefix,
String marker,
Integer maxKeys)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
String |
getBid()
Gets the bid.
|
String |
getMarker()
Gets the marker filter.
|
Integer |
getMaxKeys()
Gets the max number of buckets to return.
|
String |
getPrefix()
Gets the prefix filter.
|
String |
getTagKey()
Gets the tag key.
|
String |
getTagValue()
Gets the tag value.
|
void |
setBid(String bid)
Sets the bid。
|
void |
setMarker(String marker)
Sets the marker filter.
|
void |
setMaxKeys(Integer maxKeys)
Sets the max number of buckets to return.
|
void |
setPrefix(String prefix)
Sets the prefix filter.
|
void |
setTag(String tagKey,
String tagValue)
Sets the bucket tag.
|
ListBucketsRequest |
withMarker(String marker)
Sets the marker filter and return the current ListBucketRequest instance
(this).
|
ListBucketsRequest |
withMaxKeys(Integer maxKeys)
Sets the max number of buckets to return the current ListBucketsRequest
instance (this).
|
ListBucketsRequest |
withPrefix(String prefix)
Sets the prefix filter and return the current ListBucketsRequest instance
(this).
|
public static final int MAX_RETURNED_KEYS
public ListBucketsRequest()
public ListBucketsRequest(String prefix, String marker, Integer maxKeys)
prefix
- Prefix filter, all buckets returned must start with this
prefix.marker
- Maker filter, all buckets returned must be greater than the
marker.maxKeys
- Max number of buckets to return, by default is 100,public String getPrefix()
public void setPrefix(String prefix)
prefix
- The prefix filter.public ListBucketsRequest withPrefix(String prefix)
prefix
- The prefix filter.public String getMarker()
public void setMarker(String marker)
marker
- The marker filter.public ListBucketsRequest withMarker(String marker)
marker
- The marker filter.public Integer getMaxKeys()
public void setMaxKeys(Integer maxKeys)
maxKeys
- The max number of buckets.public ListBucketsRequest withMaxKeys(Integer maxKeys)
maxKeys
- The max number of buckets.public void setBid(String bid)
bid
- bid。public String getBid()
public String getTagKey()
public String getTagValue()
Copyright © 2019. All Rights Reserved.