public Task withTaskProperties(java.util.Map<String, String> taskProperties) {
        setTaskProperties(taskProperties);
        return this;
    }
<p>
A map used to store task-related information. The service looks for particular information based on the TaskType.
</p>

@param taskProperties
       A map used to store task-related information. The service looks for particular information based on the
       TaskType.
@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/Task.java