public BackupRule withCopyActions(java.util.Collection<CopyAction> copyActions) {
        setCopyActions(copyActions);
        return this;
    }
<p>
An array of <code>CopyAction</code> objects, which contains the details of the copy operation.
</p>

@param copyActions
       An array of <code>CopyAction</code> objects, which contains the details of the copy operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/BackupRule.java