public ObjectFilter withKeyName(String keyName) {
        setKeyName(keyName);
        return this;
    }
<p>
A searchable identifier of a profile object. The predefined keys you can use to search for <code>_asset</code>
include: <code>_assetId</code>, <code>_assetName</code>, and <code>_serialNumber</code>. The predefined keys you
can use to search for <code>_case</code> include: <code>_caseId</code>. The predefined keys you can use to search
for <code>_order</code> include: <code>_orderId</code>.
</p>

@param keyName
       A searchable identifier of a profile object. The predefined keys you can use to search for
       <code>_asset</code> include: <code>_assetId</code>, <code>_assetName</code>, and
       <code>_serialNumber</code>. The predefined keys you can use to search for <code>_case</code> include:
       <code>_caseId</code>. The predefined keys you can use to search for <code>_order</code> include:
       <code>_orderId</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/ObjectFilter.java