public DetectProfileObjectTypeRequest withObjects(java.util.Collection<String> objects) {
        setObjects(objects);
        return this;
    }
<p>
A string that is serialized from a JSON object.
</p>

@param objects
       A string that is serialized from a JSON object.
@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/DetectProfileObjectTypeRequest.java