class S3ObjectsProvider {

  public String[] getBucketsNames() throws S3ServiceException {
    return Arrays.stream( getBuckets() ).map( b -> b.getName() ).toArray( String[]::new );
  }

  public  S3ObjectsProvider( S3Service service );

}