public UpdateBotRequest withDataPrivacy(DataPrivacy dataPrivacy) {
        setDataPrivacy(dataPrivacy);
        return this;
    }
<p>
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
</p>

@param dataPrivacy
       Provides information on additional privacy protections Amazon Lex should use with the bot's data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/UpdateBotRequest.java