public class ListBucketResult extends Object
Modifier and Type | Class and Description |
---|---|
class |
ListBucketResult.Content
Object metadata class.
|
class |
ListBucketResult.Prefix
Prefix Object.
|
Constructor and Description |
---|
ListBucketResult()
Creates an
ListBucketResult . |
ListBucketResult(String bucketName,
List<URIStatus> children,
ListBucketOptions options)
Creates an
ListBucketResult . |
Modifier and Type | Method and Description |
---|---|
List<ListBucketResult.Prefix> |
getCommonPrefixes() |
List<ListBucketResult.Content> |
getContents() |
int |
getKeyCount() |
String |
getMarker() |
String |
getName() |
String |
getNextMarker() |
String |
getPrefix() |
boolean |
isTruncated() |
public ListBucketResult()
ListBucketResult
.public ListBucketResult(String bucketName, List<URIStatus> children, ListBucketOptions options)
ListBucketResult
.bucketName
- the bucket namechildren
- a list of URIStatus
, representing the objects and common prefixesoptions
- the list bucket optionspublic String getName()
public int getKeyCount()
public boolean isTruncated()
public String getPrefix()
public String getMarker()
public String getNextMarker()
public List<ListBucketResult.Content> getContents()
public List<ListBucketResult.Prefix> getCommonPrefixes()
Copyright © 2023. All Rights Reserved.