public void setType(JSONType type) {
        setType(type == null ? null : type.toString());
    }
The type of JSON. Valid values: Document, Lines.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/JSONInput.java