public ThingIndexingConfiguration withCustomFields(java.util.Collection<Field> customFields) {
        setCustomFields(customFields);
        return this;
    }
<p>
Contains custom field names and their data type.
</p>

@param customFields
       Contains custom field names and their data type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ThingIndexingConfiguration.java