public class ListObjectsRequest extends OSSRequest
OSSRequest.CRC64Config
构造器和说明 |
---|
ListObjectsRequest() |
ListObjectsRequest(java.lang.String bucketName) |
ListObjectsRequest(java.lang.String bucketName,
java.lang.String prefix,
java.lang.String marker,
java.lang.String delimiter,
java.lang.Integer maxKeys)
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBucketName()
Gets bucket name
|
java.lang.String |
getDelimiter()
Gets the delimiter character for grouping object keys.
|
java.lang.String |
getEncodingType()
Gets the encoding type of the object
|
java.lang.String |
getMarker()
Gets the marker filter.
|
java.lang.Integer |
getMaxKeys()
Gets the max keys to return, by default it's 100.
|
java.lang.String |
getPrefix()
Gets prefix filter.
|
void |
setBucketName(java.lang.String bucketName)
Sets bucket name
|
void |
setDelimiter(java.lang.String delimiter)
Sets the object key's delimiter character
|
void |
setEncodingType(java.lang.String encodingType)
Sets the encoding type
|
void |
setMarker(java.lang.String marker)
Sets the marker filter.
|
void |
setMaxKeys(java.lang.Integer maxKeys)
Sets the max keys to return.
|
void |
setPrefix(java.lang.String prefix)
Sets prefix filter.
|
getCRC64, isAuthorizationRequired, setCRC64, setIsAuthorizationRequired
public ListObjectsRequest()
public ListObjectsRequest(java.lang.String bucketName)
public ListObjectsRequest(java.lang.String bucketName, java.lang.String prefix, java.lang.String marker, java.lang.String delimiter, java.lang.Integer maxKeys)
bucketName
- bucket nameprefix
- prefix filtermarker
- maker filtermaxKeys
- Max keys to return, by default it's 100.delimiter
- delimiter character to group object namepublic java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- bucket namepublic java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- prefix filter.public java.lang.String getMarker()
public void setMarker(java.lang.String marker)
marker
- marker filterpublic java.lang.Integer getMaxKeys()
public void setMaxKeys(java.lang.Integer maxKeys)
maxKeys
- The max keys to return.public java.lang.String getDelimiter()
public void setDelimiter(java.lang.String delimiter)
delimiter
- the delimiter to setpublic java.lang.String getEncodingType()
public void setEncodingType(java.lang.String encodingType)
encodingType
- Encoding type
Valid values: null (no encoding) or "url".