public StopActivityStreamRequest withApplyImmediately(Boolean applyImmediately) {
        setApplyImmediately(applyImmediately);
        return this;
    }
<p>
Specifies whether or not the database activity stream is to stop as soon as possible, regardless of the
maintenance window for the database.
</p>

@param applyImmediately
       Specifies whether or not the database activity stream is to stop as soon as possible, regardless of the
       maintenance window for the database.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/StopActivityStreamRequest.java