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