public RdsDbSnapshotAttributeValue withAccountIds(java.util.Collection<String> accountIds) {
        setAccountIds(accountIds);
        return this;
    }
<p>
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
<code>all</code> is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all
Amazon Web Services accounts.
</p>
<ul>
<li>
<p>
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the <code>accountIds</code>
in <code>RdsDbSnapshotAttributeValue</code>, then the access preview uses the existing shared
<code>accountIds</code> for the snapshot.
</p>
</li>
<li>
<p>
If the access preview is for a new resource and you do not specify the specify the <code>accountIds</code> in
<code>RdsDbSnapshotAttributeValue</code>, then the access preview considers the snapshot without any attributes.
</p>
</li>
<li>
<p>
To propose deletion of an existing shared <code>accountIds</code>, you can specify an empty list for
<code>accountIds</code> in the <code>RdsDbSnapshotAttributeValue</code>.
</p>
</li>
</ul>

@param accountIds
       The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
       <code>all</code> is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by
       all Amazon Web Services accounts.</p>
       <ul>
       <li>
       <p>
       If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the
       <code>accountIds</code> in <code>RdsDbSnapshotAttributeValue</code>, then the access preview uses the
       existing shared <code>accountIds</code> for the snapshot.
       </p>
       </li>
       <li>
       <p>
       If the access preview is for a new resource and you do not specify the specify the <code>accountIds</code>
       in <code>RdsDbSnapshotAttributeValue</code>, then the access preview considers the snapshot without any
       attributes.
       </p>
       </li>
       <li>
       <p>
       To propose deletion of an existing shared <code>accountIds</code>, you can specify an empty list for
       <code>accountIds</code> in the <code>RdsDbSnapshotAttributeValue</code>.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/RdsDbSnapshotAttributeValue.java