public String getRecommendationId() {
        return this.recommendationId;
    }
<p>
The ID of the list of recommendations that contains the item the user interacted with. Provide a
<code>recommendationId</code> to have Amazon Personalize implicitly record the recommendations you show your user
as impressions data. Or provide a <code>recommendationId</code> if you use a metric attribution to measure the
impact of recommendations.
</p>
<p>
For more information on recording impressions data, see <a href=
"https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html#putevents-including-impressions-data"
>Recording impressions data</a>. For more information on creating a metric attribution see <a
href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of
recommendations</a>.
</p>

@return The ID of the list of recommendations that contains the item the user interacted with. Provide a
        <code>recommendationId</code> to have Amazon Personalize implicitly record the recommendations you show
        your user as impressions data. Or provide a <code>recommendationId</code> if you use a metric attribution
        to measure the impact of recommendations. </p>
        <p>
        For more information on recording impressions data, see <a href=
        "https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html#putevents-including-impressions-data"
        >Recording impressions data</a>. For more information on creating a metric attribution see <a
        href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring
        impact of recommendations</a>.
aws-java-sdk-personalizeevents/src/main/java/com/amazonaws/services/personalizeevents/model/Event.java