public UpdateDataSourceRequest withDataDeletionPolicy(String dataDeletionPolicy) {
        setDataDeletionPolicy(dataDeletionPolicy);
        return this;
    }
<p>
The data deletion policy for the data source that you want to update.
</p>

@param dataDeletionPolicy
       The data deletion policy for the data source that you want to update.
@return Returns a reference to this object so that method calls can be chained together.
@see DataDeletionPolicy
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/UpdateDataSourceRequest.java