public void setAllowedMethods(AllowedMethods... allowedMethods) {
    	this.allowedMethods = Arrays.asList(allowedMethods);  
    }
Convenience array style method for {@link #setAllowedMethods(List)}
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/CORSRule.java