List Buckets
Function Signatures
/**
* Returns a list of all fds buckets that the authenticated sender
* of the request owns.
*
* @return A list of all fds buckets owned by the authenticated sender
* of the request
* @throws GalaxyFDSClientException
*/
public List<FDSBucket> listBuckets() throws GalaxyFDSClientException;
Example
List<FDSBucket> buckets = fdsClient.listBuckets();
if (buckets != null) {
for (FDSBucket bucket : buckets) {
System.out.println(bucket.getName());
}
}