public void setNameContains(String nameContains) {
        this.nameContains = nameContains;
    }
<p>
Substring to match in slot type names. A slot type will be returned if any part of its name matches the
substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
</p>

@param nameContains
       Substring to match in slot type names. A slot type will be returned if any part of its name matches the
       substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/GetSlotTypesRequest.java