public void setAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata) {
        this.analyticsMetadata = analyticsMetadata;
    }
<p>
The Amazon Pinpoint analytics metadata that contributes to your metrics for <code>ForgotPassword</code> calls.
</p>

@param analyticsMetadata
       The Amazon Pinpoint analytics metadata that contributes to your metrics for <code>ForgotPassword</code>
       calls.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/ForgotPasswordRequest.java