public class ListBucketResult extends Object
Modifier and Type | Class and Description |
---|---|
class |
ListBucketResult.CommonPrefixes
Common Prefixes list placeholder object.
|
class |
ListBucketResult.Content
Object metadata class.
|
Constructor and Description |
---|
ListBucketResult()
Creates an
ListBucketResult . |
ListBucketResult(String bucketName,
List<URIStatus> children,
ListBucketOptions options)
Creates an
ListBucketResult . |
Modifier and Type | Method and Description |
---|---|
ListBucketResult.CommonPrefixes |
getCommonPrefixes() |
List<ListBucketResult.Content> |
getContents() |
String |
getDelimiter() |
String |
getEncodingType() |
int |
getKeyCount() |
String |
getMarker() |
int |
getMaxKeys() |
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 int getMaxKeys()
public boolean isTruncated()
public String getPrefix()
public String getDelimiter()
public String getEncodingType()
public String getMarker()
public String getNextMarker()
public List<ListBucketResult.Content> getContents()
public ListBucketResult.CommonPrefixes getCommonPrefixes()
Copyright © 2023. All Rights Reserved.