public String[] getBucketsNames() throws SdkClientException {
    return getBuckets().stream().map( b -> b.getName() ).toArray( String[]::new );
  }
@Test public void testGetBucketsNames() throws Exception {
    String[] actual = provider.getBucketsNames();
    assertArrayEquals( EXPECTED_BUCKETS_NAMES, actual );
  }