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