public List<String> getOptionalFields() {
        return optionalFields;
    }
Returns the optional fields that are included in the inventory results.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/inventory/InventoryConfiguration.java