Class ListBucketResult


  • public class ListBucketResult
    extends java.lang.Object
    Get bucket result defined in https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html It will be encoded into an XML string to be returned as a response for the REST call.
    • Constructor Detail

      • ListBucketResult

        public ListBucketResult​(java.lang.String bucketName,
                                java.util.List<alluxio.client.file.URIStatus> children,
                                ListBucketOptions options)
        Creates an ListBucketResult.
        Parameters:
        bucketName - the bucket name
        children - a list of URIStatus, representing the objects and common prefixes
        options - the list bucket options
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        the bucket name
      • getKeyCount

        public int getKeyCount()
        Returns:
        the number of keys included in the response
      • getMaxKeys

        public int getMaxKeys()
        Returns:
        the number of keys included in the response
      • isTruncated

        public boolean isTruncated()
        Returns:
        false if all results are returned, otherwise true
      • getPrefix

        public java.lang.String getPrefix()
        Returns:
        the prefix
      • getDelimiter

        public java.lang.String getDelimiter()
        Returns:
        the delimiter
      • getEncodingType

        public java.lang.String getEncodingType()
        Returns:
        the encoding type of the result
      • getMarker

        public java.lang.String getMarker()
        Returns:
        the marker
      • getNextMarker

        public java.lang.String getNextMarker()
        Returns:
        the next marker