public ThingIndexingConfiguration withManagedFields(java.util.Collection<Field> managedFields) {
        setManagedFields(managedFields);
        return this;
    }
<p>
Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an
optional field. For more information, see <a
href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field">Managed
fields</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.
</p>
<note>
<p>
You can't modify managed fields by updating fleet indexing configuration.
</p>
</note>

@param managedFields
       Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is
       an optional field. For more information, see <a
       href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field"
       >Managed fields</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.</p> <note>
       <p>
       You can't modify managed fields by updating fleet indexing configuration.
       </p>
@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