public CORSRule withAllowedOrigins(List<String> allowedOrigins) {
        this.allowedOrigins = allowedOrigins;
        return this;
    }
Sets the allowed origins of this rule and returns a reference to this object for
method chaining.

@see CORSRule#setAllowedOrigins(List)
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/CORSRule.java