public DBInstance withActivityStreamMode(ActivityStreamMode activityStreamMode) {
        this.activityStreamMode = activityStreamMode.toString();
        return this;
    }
<p>
The mode of the database activity stream. Database events such as a change or access generate an activity stream
event. RDS for Oracle always handles these events asynchronously.
</p>

@param activityStreamMode
       The mode of the database activity stream. Database events such as a change or access generate an activity
       stream event. RDS for Oracle always handles these events asynchronously.
@return Returns a reference to this object so that method calls can be chained together.
@see ActivityStreamMode
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java