public ModifyDBInstanceRequest withCopyTagsToSnapshot(Boolean copyTagsToSnapshot) {
        setCopyTagsToSnapshot(copyTagsToSnapshot);
        return this;
    }
<p>
A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default,
tags are not copied.
</p>

@param copyTagsToSnapshot
       A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By
       default, tags are not copied.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/ModifyDBInstanceRequest.java