public ModifyDBSnapshotAttributeRequest withValuesToAdd(String... valuesToAdd) {
        if (this.valuesToAdd == null) {
            setValuesToAdd(new com.amazonaws.internal.SdkInternalList<String>(valuesToAdd.length));
        }
        for (String ele : valuesToAdd) {
            this.valuesToAdd.add(ele);
        }
        return this;
    }
<p>
A list of DB snapshot attributes to add to the attribute specified by <code>AttributeName</code>.
</p>
<p>
To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include
one or more Amazon Web Services account IDs, or <code>all</code> to make the manual DB snapshot restorable by any
Amazon Web Services account. Do not add the <code>all</code> value for any manual DB snapshots that contain
private information that you don't want available to all Amazon Web Services accounts.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setValuesToAdd(java.util.Collection)} or {@link #withValuesToAdd(java.util.Collection)} if you want to
override the existing values.
</p>

@param valuesToAdd
       A list of DB snapshot attributes to add to the attribute specified by <code>AttributeName</code>.</p>
       <p>
       To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to
       include one or more Amazon Web Services account IDs, or <code>all</code> to make the manual DB snapshot
       restorable by any Amazon Web Services account. Do not add the <code>all</code> value for any manual DB
       snapshots that contain private information that you don't want available to all Amazon Web Services
       accounts.
@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/ModifyDBSnapshotAttributeRequest.java