public RestoreDBInstanceFromDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier) {
        setDBSnapshotIdentifier(dBSnapshotIdentifier);
        return this;
    }
<p>
The identifier for the DB snapshot to restore from.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
Must match the identifier of an existing DB snapshot.
</p>
</li>
<li>
<p>
Can't be specified when <code>DBClusterSnapshotIdentifier</code> is specified.
</p>
</li>
<li>
<p>
Must be specified when <code>DBClusterSnapshotIdentifier</code> isn't specified.
</p>
</li>
<li>
<p>
If you are restoring from a shared manual DB snapshot, the <code>DBSnapshotIdentifier</code> must be the ARN of
the shared DB snapshot.
</p>
</li>
</ul>

@param dBSnapshotIdentifier
       The identifier for the DB snapshot to restore from.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       Must match the identifier of an existing DB snapshot.
       </p>
       </li>
       <li>
       <p>
       Can't be specified when <code>DBClusterSnapshotIdentifier</code> is specified.
       </p>
       </li>
       <li>
       <p>
       Must be specified when <code>DBClusterSnapshotIdentifier</code> isn't specified.
       </p>
       </li>
       <li>
       <p>
       If you are restoring from a shared manual DB snapshot, the <code>DBSnapshotIdentifier</code> must be the
       ARN of the shared DB snapshot.
       </p>
       </li>
@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/RestoreDBInstanceFromDBSnapshotRequest.java