public DBInstance withAssociatedRoles(java.util.Collection<DBInstanceRole> associatedRoles) {
        setAssociatedRoles(associatedRoles);
        return this;
    }
<p>
The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
</p>

@param associatedRoles
       The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
@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/DBInstance.java