public AwsRdsDbInstanceDetails withAssociatedRoles(java.util.Collection<AwsRdsDbInstanceAssociatedRole> associatedRoles) {
        setAssociatedRoles(associatedRoles);
        return this;
    }
<p>
The IAM roles associated with the DB instance.
</p>

@param associatedRoles
       The 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-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRdsDbInstanceDetails.java