public static class ListBuckets.Response extends Object implements Iterable<Namespace>
This encapsulates an immutable list of bucket names and is Iterable:
for (Namespace ns : response)
{
System.out.println(ns.getBucketName());
}
Constructor and Description |
---|
Response(BinaryValue type,
List<BinaryValue> buckets) |
Modifier and Type | Method and Description |
---|---|
Iterator<Namespace> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Response(BinaryValue type, List<BinaryValue> buckets)
Copyright © 2016. All rights reserved.