public List<AllowedMethods> getAllowedMethods() {
        return allowedMethods;
    }
Returns the allowed methods of this rule.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/CORSRule.java