public CORSRule withId(String id) {
        this.id = id;
        return this;
    }
Sets the ID of this rule and returns a reference to this object for
method chaining.

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