public class ListBucketResult extends Object
Modifier and Type | Class and Description |
---|---|
class |
ListBucketResult.Content
Object metadata class.
|
Constructor and Description |
---|
ListBucketResult()
Creates an
ListBucketResult . |
ListBucketResult(String bucketName,
List<URIStatus> objectsList,
ListBucketOptions options)
Creates an
ListBucketResult . |
Modifier and Type | Method and Description |
---|---|
List<ListBucketResult.Content> |
getContents() |
String |
getContinuationToken() |
int |
getKeyCount() |
int |
getMaxKeys() |
String |
getName() |
String |
getNextContinuationToken() |
String |
getPrefix() |
boolean |
isTruncated() |
void |
setContent(List<ListBucketResult.Content> contents) |
void |
setContinuationToken(String continuationToken) |
void |
setIsTruncated(boolean isTruncated) |
void |
setKeyCount(int keyCount) |
void |
setMaxKeys(int maxKeys) |
void |
setName(String name) |
void |
setNextContinuationToken(String nextContinuationToken) |
void |
setPrefix(String prefix) |
public ListBucketResult()
ListBucketResult
.public ListBucketResult(String bucketName, List<URIStatus> objectsList, ListBucketOptions options)
ListBucketResult
.bucketName
- the bucket nameobjectsList
- a list of URIStatus
, representing the objectsoptions
- the list bucket optionspublic String getName()
public String getPrefix()
public String getContinuationToken()
public String getNextContinuationToken()
public int getKeyCount()
public int getMaxKeys()
public boolean isTruncated()
public List<ListBucketResult.Content> getContents()
public void setName(String name)
name
- the bucket name to setpublic void setPrefix(String prefix)
prefix
- the prefix to setpublic void setContinuationToken(String continuationToken)
continuationToken
- the continuation token to setpublic void setNextContinuationToken(String nextContinuationToken)
nextContinuationToken
- the next continuation token to setpublic void setKeyCount(int keyCount)
keyCount
- the number of keys to setpublic void setMaxKeys(int maxKeys)
maxKeys
- the maximum number of keys returned value to setpublic void setIsTruncated(boolean isTruncated)
isTruncated
- the isTruncated value to setpublic void setContent(List<ListBucketResult.Content> contents)
contents
- the contents list to setCopyright © 2023. All Rights Reserved.