MakeBucketArgs extends BucketArgs { public static Builder builder() { return new Builder(); }  boolean objectLock(); static Builder builder();  }
@Test(expected = IllegalArgumentException.class) public void testEmptyBuild() { MakeBucketArgs.builder().build(); Assert.fail("exception should be thrown"); }
@Test(expected = IllegalArgumentException.class) public void testEmptyBucketBuild2() { MakeBucketArgs.builder().bucket(null).build(); Assert.fail("exception should be thrown"); }
@Test(expected = IllegalArgumentException.class) public void testEmptyBucketBuild3() { MakeBucketArgs.builder().bucket("mybucket").bucket(null).build(); Assert.fail("exception should be thrown"); }
@Test(expected = IllegalArgumentException.class) public void testEmptyRegionBuild() { MakeBucketArgs.builder().region("").build(); Assert.fail("exception should be thrown"); }